package httpun-ws-lwt

  1. Overview
  2. Docs

Module type Httpun_ws_lwt.ClientSource

type t
type socket
val connect : ?config:Httpun.Config.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) -> socket -> t Lwt.t
val is_closed : t -> bool