package httpun-ws-lwt

  1. Overview
  2. Docs

Module type Httpun_ws_lwt.ServerSource

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