package dream-httpaf

  1. Overview
  2. Docs
type t
val connect : ?config:Httpaf.Config.t -> nonce:string -> host:string -> port:int -> resource:string -> error_handler:(Websocketaf.Client_connection.error -> unit) -> websocket_handler: (Websocketaf.Wsd.t -> Websocketaf.Client_connection.input_handlers) -> Lwt_unix.file_descr -> t Lwt.t
val is_closed : t -> bool