Reference • Ponyo

PONYO_NET_HTTP_RESPONSE

Source
typesocket
typet
valversion:t -> string
valstatus:t -> int
valreason:t -> string
valheaders:t -> string Ponyo_String.Dict.t
valbody:t -> string
valnew:string -> int -> (string -> string Ponyo_String.Dict.t -> string -> t)
valinit:string -> t
valinitWithHeaders:string -> string Ponyo_String.Dict.t -> t
valNotFound:t
valMethodNotAllowed:t
valUnauthorized:t
valForbidden:t
valInternalServerError:t
valNotImplemented:t
valBadGateway:t
valServiceUnavailable:t
valGatewayTimeout:t
valread:socket -> t
valwrite:socket -> t -> unit
valtoString:t -> string