module type Http_t =sig
..end
This is the type of Http request API that the modules require.
type
request =
| |
Get |
| |
Post of |
exception Http of string
val default_timeout : float Stdlib.ref
val request : ?timeout:float ->
?headers:(string * string) list ->
?port:int ->
host:string ->
url:string -> request:request -> unit -> string