package devkit

  1. Overview
  2. Docs
module IO : sig ... end
val with_curl : (Curl.t -> 'a IO.t) -> 'a IO.t
val with_curl_cache : (Curl.t -> 'a IO.t) -> 'a IO.t
type (!'body0, 'ret0) request_ = ('body, 'ret IO.t) http_request_
type 'ret0 request = 'ret IO.t http_request
val http_request' : [> `Error of Curl.curlCode | `Ok of int * string ] request
val http_request : [> `Error of string | `Ok of string ] request
val http_request_exn : string request
val http_query : (string * string, [> `Error of string | `Ok of string ]) request_
val http_submit : ?ua:string -> ?timeout:int -> ?verbose:bool -> ?setup:(Curl.t -> unit) -> ?timer:Action.timer -> ?http_1_0:bool -> ?headers:string list -> ?action:http_action -> string -> (string * string) list -> [> `Error of string | `Ok of string ] IO.t