Hcs.Server.Tls_handler
hcs · API reference
val handle :
sw:'a ->
clock:[> float Eio.Time.clock_ty ] Eio.Time.clock ->
config:config ->
handler:(request -> Response.t) ->
ws_handler:(Websocket.t -> unit) ->
Tls.Config.server ->
[> `Close | `Flow | `R | `Shutdown | `W ] Eio.Std.r ->
unit