Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val connect :
?config:Httpun.Config.t ->
sw:Eio.Switch.t ->
nonce:string ->
host:string ->
port:int ->
resource:string ->
error_handler:(Httpun_ws.Client_connection.error -> unit) ->
websocket_handler:
(Httpun_ws.Wsd.t -> Httpun_ws.Websocket_connection.input_handlers) ->
Eio_unix.Net.stream_socket_ty Eio.Net.stream_socket ->
t
val is_closed : t -> bool
val shutdown : t -> unit Eio.Promise.t