Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type header = [
| `Http_accept_charset
| `Http_accept_language
| `Http_accept_encoding
| `Http_referer
| `Http_accept
| `Http_content_type
| `Http_content_md5
| `Http_user_agent
| `Http_origin
| `Http_cache_control
| `Http_content_length
| `Http_connection
| `Http_host
| `Http_date
| `Http_x_forwarded_proto
| `Http_x_forwarded_port
| `Http_x_forwarded_for
| `Server_name
| `Server_port
| `Remote_port
| `Remote_addr
| `Server_protocol
| `Other of string
]
val make : Http_method.t -> Uri.t -> Headers.t -> string -> t
val of_stream : char Lwt_stream.t -> t Lwt.t
val to_string : t -> string
val content_length : t -> int
val meth : t -> Http_method.t
val path : t -> string
val contents : t -> string
val param : t -> string -> string option
val param_exn : ?default:string -> t -> string -> string
val params_get : t -> (string * string) list
val params_post : t -> (string * string) list
val cookie : t -> string -> string option
val to_debug_string : t -> string