type allowed_ciphers = [ | `Only of string list| `Openssl_default| `Secure
]val __allowed_ciphers_of_sexp__ : Ppx_sexp_conv_lib.Sexp.t -> allowed_cipherstype ssl_version = [ | `Ssl_not_compiled_in
]val sexp_of_ssl_version : ssl_version -> Ppx_sexp_conv_lib.Sexp.tval ssl_version_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> ssl_versiontype session = [ | `Ssl_not_compiled_in
]val sexp_of_session : session -> Ppx_sexp_conv_lib.Sexp.tval sexp_of_verify_mode : verify_mode -> Ppx_sexp_conv_lib.Sexp.ttype ssl_opt = [ | `Ssl_not_compiled_in
]val sexp_of_ssl_opt : ssl_opt -> Ppx_sexp_conv_lib.Sexp.tval ssl_opt_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> ssl_opttype ssl_conn = [ | `Ssl_not_compiled_in
]val sexp_of_ssl_conn : ssl_conn -> Ppx_sexp_conv_lib.Sexp.ttype addr = [ | `OpenSSL of Ipaddr.t * int * Ssl.Config.t| `TCP of Ipaddr.t * int| `Unix_domain_socket of string
]val sexp_of_addr : addr -> Ppx_sexp_conv_lib.Sexp.ttype trust_chain = [ | `Ca_file of string| `Ca_path of string| `Search_file_first_then_path of [ `File of string ] * [ `Path of string ]
]val sexp_of_trust_chain : trust_chain -> Ppx_sexp_conv_lib.Sexp.tval trust_chain_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> trust_chainval __trust_chain_of_sexp__ : Ppx_sexp_conv_lib.Sexp.t -> trust_chaintype openssl = [ | `OpenSSL of [ `Crt_file_path of string ] * [ `Key_file_path of string ]
]val sexp_of_openssl : openssl -> Ppx_sexp_conv_lib.Sexp.tval openssl_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> opensslval __openssl_of_sexp__ : Ppx_sexp_conv_lib.Sexp.t -> opensslval sexp_of_server : server -> Ppx_sexp_conv_lib.Sexp.tval server_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> serverval __server_of_sexp__ : Ppx_sexp_conv_lib.Sexp.t -> serverval serve :
?max_connections:int ->
?backlog:int ->
?buffer_age_limit:Async.Writer.buffer_age_limit ->
on_handler_error:
[ `Call of ([< Async.Socket.Address.t ] as 'a) -> exn -> unit
| `Ignore
| `Raise ] ->
server ->
('a, 'b) Async.Tcp.Where_to_listen.t ->
('a -> Async.Reader.t -> Async.Writer.t -> unit Async.Deferred.t) ->
('a, 'b) Async.Tcp.Server.t Async.Deferred.t