Hcs.Tls_config.Server
hcs · API reference
type t = {
certificate : Tls.Config.own_cert;
alpn_protocols : string list option;
}val with_alpn : string list -> t -> tval h1_only : t -> tval h2_only : t -> tval h2_or_http11 : t -> tval of_pem : cert_file:string -> key_file:string -> (t, string) resultval to_tls_config : t -> (Tls.Config.server, [> `Msg of string ]) resultCreate Tls.Config.server from our config