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 let to_string s = Format.asprintf "%a" pp s
end end
type t = { curl: Curl.t; set_opts : Curl.t -> unit } type t = {
curl: Curl.t;
set_opts: Curl.t -> unit;
}
type client = t type client = t
let _top_mutex = Mutex.create () let _top_mutex = Mutex.create ()

View file

@ -15,7 +15,10 @@ module Config : sig
val to_string : t -> string val to_string : t -> string
end 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 (** A client, i.e. a cURL instance. The wrapping record has been present since
0.3 *) 0.3 *)