package dream-httpaf

  1. Overview
  2. Docs

Parameters

Signature

type t
type socket = Client_runtime.socket
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) -> socket -> t Lwt.t
val is_closed : t -> bool