package devkit

  1. Overview
  2. Docs

Parameters

module IO : IO_TYPE
module Curl_IO : CURL with type 'a t = 'a IO.t

Signature

module IO : IO_TYPE with type 'a t = 'a IO.t
val with_curl : (Curl.t -> 'a IO.t) -> 'a IO.t
val with_curl_cache : (Curl.t -> 'a IO.t) -> 'a IO.t
type ('body, 'ret) request_ = ('body, 'ret IO.t) http_request_
type 'ret 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