File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -113,17 +113,17 @@ module type HTTP = sig
113
113
val with_curl : (Curl .t -> 'a IO .t ) -> 'a IO .t
114
114
val with_curl_cache : (Curl .t -> 'a IO .t ) -> 'a IO .t
115
115
val http_gets :
116
- ?setup : (CurlCache .t -> unit ) ->
116
+ ?setup : (Curl .t -> unit ) ->
117
117
?max_size : int ->
118
- ?check : (CurlCache .t -> bool ) ->
119
- ?result : (CurlCache .t -> Curl .curlCode -> unit IO .t ) ->
118
+ ?check : (Curl .t -> bool ) ->
119
+ ?result : (Curl .t -> Curl .curlCode -> unit IO .t ) ->
120
120
string -> [ `Error of Curl .curlCode | `Ok of int * string ] IO .t
121
121
122
122
type ('body,'ret) http_request_ =
123
123
?ua:string ->
124
124
?timeout:int ->
125
125
?verbose:bool ->
126
- ?setup:(CurlCache .t -> unit ) ->
126
+ ?setup:(Curl .t -> unit ) ->
127
127
?max_size:int ->
128
128
?http_1_0:bool ->
129
129
?headers:string list ->
@@ -140,7 +140,7 @@ module type HTTP = sig
140
140
?ua : string ->
141
141
?timeout : int ->
142
142
?verbose : bool ->
143
- ?setup : (CurlCache .t -> unit ) ->
143
+ ?setup : (Curl .t -> unit ) ->
144
144
?http_1_0 : bool ->
145
145
?headers : string list ->
146
146
?action : http_action ->
@@ -166,7 +166,7 @@ module Http (IO : IO_TYPE) (Curl_IO : CURL with type 'a t = 'a IO.t) : HTTP with
166
166
?ua:string ->
167
167
?timeout:int ->
168
168
?verbose:bool ->
169
- ?setup:(CurlCache .t -> unit ) ->
169
+ ?setup:(Curl .t -> unit ) ->
170
170
?max_size:int ->
171
171
?http_1_0:bool ->
172
172
?headers:string list ->
You can’t perform that action at this time.
0 commit comments