include module type of struct include V1.Conduit_async end
Sourcetype ic = Async.Reader.t Sourcetype oc = Async.Writer.t Sourcetype addr = [ | `OpenSSL of string * Ipaddr.t * int| `OpenSSL_with_config of string * Ipaddr.t * int * Ssl.config| `TCP of Ipaddr.t * int| `Unix_domain_socket of string
] Sourcetype trust_chain = [ | `Ca_file of string| `Ca_path of string| `Search_file_first_then_path of [ `File of string ] * [ `Path of string ]
] Sourcetype openssl = [ | `OpenSSL of [ `Crt_file_path of string ] * [ `Key_file_path of string ]
] Sourceval 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 -> ic -> oc -> unit io) ->
('a, 'b) Async.Tcp.Server.t io