This commit is contained in:
Simon Cruanes 2026-02-11 09:25:28 -05:00
parent 84f2701f98
commit c54d42f18c
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4
2 changed files with 9 additions and 2 deletions

View file

@ -68,7 +68,11 @@ module Config = struct
let to_string s = Format.asprintf "%a" pp s
end
type t = { curl: Curl.t; set_opts : Curl.t -> unit }
type t = {
curl: Curl.t;
set_opts: Curl.t -> unit;
}
type client = t
let _top_mutex = Mutex.create ()

View file

@ -15,7 +15,10 @@ module Config : sig
val to_string : t -> string
end
type t = { curl: Curl.t; set_opts : Curl.t -> unit }
type t = {
curl: Curl.t;
set_opts: Curl.t -> unit;
}
(** A client, i.e. a cURL instance. The wrapping record has been present since
0.3 *)