Source

ocaml-bitbucket / xcurl.mli

camlspotter 670db8d 
camlspotter ab68943 

camlspotter e7a867f 
1
2
3
4
5
val get_string : (Curl.handle -> unit) -> int * string
  (** [get_string init] initializes curl handle by [init] then add a write function for the simple string retrieval and perform it.
      It returns the obtained string. *)

val ok200 : (int * string) -> [`Ok of string | `Error of [> `Http of (int * string) ]]