package dream
Module Websocketaf.Server_connectionSource
Source
type input_handlers = {frame : opcode:Websocket.Opcode.t -> is_fin:bool -> Bigstringaf.t -> off:int -> len:int -> unit;eof : unit -> unit;
}Source
val create :
sha1:(string -> string) ->
?error_handler:error_handler ->
(Wsd.t -> input_handlers) ->
tSource
val next_write_operation :
t ->
[ `Write of Bigstringaf.t IOVec.t list | `Yield | `Close of int ]