module Request:sig
..end
type
request_line = {
|
meth : |
|
path : |
|
version : |
}
type
request = {
|
line : |
|
headers : |
}
val req_method : request -> string
val req_path : request -> string
val req_version : request -> string
val line_of_string : string -> request_line
val request_of_line : string -> request
val recv_request_line : Unix.file_descr -> request_line * string
val recv_request_headers : Unix.file_descr -> string -> (string, string) Stdlib.Hashtbl.t
val recv_request : Unix.file_descr -> request