package httpun-ws-lwt

  1. Overview
  2. Docs

Module Httpun_ws_lwt.ServerSource

Parameters

Signature

Sourceval create_connection_handler : ?config:Httpun.Config.t -> websocket_handler: (Server_runtime.addr -> Httpun_ws.Wsd.t -> Httpun_ws.Websocket_connection.input_handlers) -> error_handler: (Server_runtime.addr -> Httpun_ws.Server_connection.error_handler) -> Server_runtime.addr -> socket -> unit Lwt.t