Source

ocaml-bitbucket / xcurl.mli

Diff from to

File xcurl.mli

-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) ]]
 
-val ok200 : (int * string) -> [`Ok of string | `Error of [> `Http of (int * string) ]]
+val get_string : (Curl.handle -> unit) -> [`Ok of string | `Error of [> `Http of (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.
+  *)
+