package httpun-ws-mirage

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Parameters

Signature

type t
type socket = Flow.flow
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
OCaml

Innovation. Community. Security.