Skip to content

Commit 80b8a8f

Browse files
committed
Web: minor
1 parent 7d07227 commit 80b8a8f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

web.ml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -113,17 +113,17 @@ module type HTTP = sig
113113
val with_curl : (Curl.t -> 'a IO.t) -> 'a IO.t
114114
val with_curl_cache : (Curl.t -> 'a IO.t) -> 'a IO.t
115115
val http_gets :
116-
?setup:(CurlCache.t -> unit) ->
116+
?setup:(Curl.t -> unit) ->
117117
?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) ->
120120
string -> [ `Error of Curl.curlCode | `Ok of int * string ] IO.t
121121

122122
type ('body,'ret) http_request_ =
123123
?ua:string ->
124124
?timeout:int ->
125125
?verbose:bool ->
126-
?setup:(CurlCache.t -> unit) ->
126+
?setup:(Curl.t -> unit) ->
127127
?max_size:int ->
128128
?http_1_0:bool ->
129129
?headers:string list ->
@@ -140,7 +140,7 @@ module type HTTP = sig
140140
?ua:string ->
141141
?timeout:int ->
142142
?verbose:bool ->
143-
?setup:(CurlCache.t -> unit) ->
143+
?setup:(Curl.t -> unit) ->
144144
?http_1_0:bool ->
145145
?headers:string list ->
146146
?action:http_action ->
@@ -166,7 +166,7 @@ module Http (IO : IO_TYPE) (Curl_IO : CURL with type 'a t = 'a IO.t) : HTTP with
166166
?ua:string ->
167167
?timeout:int ->
168168
?verbose:bool ->
169-
?setup:(CurlCache.t -> unit) ->
169+
?setup:(Curl.t -> unit) ->
170170
?max_size:int ->
171171
?http_1_0:bool ->
172172
?headers:string list ->

0 commit comments

Comments
 (0)