cohttp_async_websocket

Websocket library for use with cohttp and async
IN THIS PACKAGE
module On_connection : sig ... end
type websocket_handler = inet:Async.Socket.Address.Inet.t -> subprotocol:string option -> Cohttp.Request.t -> On_connection.t Async.Deferred.t
val create : non_ws_request:http_handler -> ?opcode:[ `Text | `Binary ] -> ?should_process_request: ( Async.Socket.Address.Inet.t -> Header.t -> is_websocket_request:bool -> unit Core.Or_error.t ) -> ?websocket_subprotocol_selection: ( Cohttp_async.Request.t -> [ `Subprotocol of string option ] ) -> websocket_handler -> raw_http_handler