module Http_ocamlnet:Lastfm_generic.Http_t
Implementation of the Http request using ocamlnet.
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