package ocaml-http

  1. Overview
  2. Docs
method addBasicHeaders : unit
method addBody : string -> unit
method addBodyBuf : Buffer.t -> unit
method addHeader : name:string -> value:string -> unit
method addHeaders : (string * string) list -> unit
method body : string
method bodyBuf : Buffer.t
method clientAddr : string
method clientPort : int
method clientSockaddr : Unix.sockaddr
method code : int
method connection : string
method contentEncoding : string
method contentType : string
method date : string
method expires : string
method hasHeader : name:string -> bool
method header : name:string -> string
method headers : (string * string) list
method isClientError : bool
method isError : bool
method isInformational : bool
method isRedirection : bool
method isServerError : bool
method isSuccess : bool
method reason : string
method removeHeader : name:string -> unit
method replaceHeader : name:string -> value:string -> unit
method replaceHeaders : (string * string) list -> unit
method serialize : Pervasives.out_channel -> unit
method server : string
method serverAddr : string
method serverPort : int
method serverSockaddr : Unix.sockaddr
method setBody : string -> unit
method setBodyBuf : Buffer.t -> unit
method setCode : int -> unit
method setConnection : string -> unit
method setContentEncoding : string -> unit
method setContentType : string -> unit
method setDate : string -> unit
method setExpires : string -> unit
method setReason : string -> unit
method setServer : string -> unit
method setStatus : Http_types.status -> unit
method setStatusLine : string -> unit
method setVersion : Http_types.version -> unit
method status : Http_types.status
method statusLine : string
method toString : string
method version : Http_types.version option
OCaml

Innovation. Community. Security.