httpcats/src/http_miou_unix.mli
2023-10-11 14:24:55 +02:00

11 lines
281 B
OCaml

module TCP : Flow.S with type t = Miou_unix.file_descr
module TLS : module type of Tls_miou.Make (TCP)
val to_tls :
Tls.Config.client
-> ?host:[ `host ] Domain_name.t
-> Miou_unix.file_descr
-> (TLS.t, TLS.error) result
val epoch : TLS.t -> Tls.Core.epoch_data option