class type message = object
.. end
HTTP generic messages. See Http_message.message
method version : version option
method setVersion : version -> unit
method body : string
method setBody : string -> unit
method bodyBuf : Buffer.t
method setBodyBuf : Buffer.t -> unit
method addBody : string -> unit
method addBodyBuf : Buffer.t -> unit
method addHeader : name:string -> value:string -> unit
method addHeaders : (string * string) list -> unit
method replaceHeader : name:string -> value:string -> unit
method replaceHeaders : (string * string) list -> unit
method removeHeader : name:string -> unit
method hasHeader : name:string -> bool
method header : name:string -> string
method headers : (string * string) list
method clientSockaddr : Unix.sockaddr
method clientAddr : string
method clientPort : int
method serverSockaddr : Unix.sockaddr
method serverAddr : string
method serverPort : int
method toString : string
method serialize : Pervasives.out_channel -> unit