Hcs.Tls_config.Client
hcs · API reference
type verification =
| System_certs
| No_verifytype t = {
verification : verification;
alpn_protocols : string list option;
}val default : tval h2 : tval h2_or_http11 : tval with_alpn : string list -> t -> tval insecure : tval insecure_h2 : tval to_ssl_context : t -> host:'a -> (Ssl.context, string) resultval wrap_flow :
t ->
host:string ->
Eio_unix.Net.stream_socket_ty Eio.Net.stream_socket ->
(Eio_ssl.t, string) result