package ocaml-http

  1. Overview
  2. Docs
method addBody : string -> unit
method addBodyBuf : Buffer.t -> unit
method addHeader : name:string -> value:string -> unit
method addHeaders : (string * string) list -> unit
method authorization : Http_types.auth_info option
method body : string
method bodyBuf : Buffer.t
method clientAddr : string
method clientPort : int
method clientSockaddr : Unix.sockaddr
method cookies : (string * string) list option
method hasHeader : name:string -> bool
method header : name:string -> string
method headers : (string * string) list
method meth : Http_types.meth
method param : ?meth:Http_types.meth -> ?default:string -> string -> string
method paramAll : ?meth:Http_types.meth -> string -> string list
method params : (string * string) list
method params_GET : (string * string) list
method params_POST : (string * string) list
method path : string
method removeHeader : name:string -> unit
method replaceHeader : name:string -> value:string -> unit
method replaceHeaders : (string * string) list -> unit
method serialize : out_channel -> unit
method serverAddr : string
method serverPort : int
method serverSockaddr : Unix.sockaddr
method setBody : string -> unit
method setBodyBuf : Buffer.t -> unit
method setVersion : Http_types.version -> unit
method toString : string
method uri : string
method version : Http_types.version option
OCaml

Innovation. Community. Security.