Module Dream_websocketaf.Websocket_connectionSource
Sourcetype error = [ | `Exn of exn
] Sourcetype t = {reader : [ `Parse of string list * string ] Reader.t;wsd : Wsd.t;eof : unit -> unit;
} Sourceval default_error_handler : Wsd.t -> [< `Exn of exn ] -> unit Sourceval next_read_operation : t -> [> `Close | `Read ] Sourceval report_write_result : t -> [< `Closed | `Ok of int ] -> unit Sourceval yield_writer : t -> (unit -> unit) -> unit Sourceval report_exn : t -> exn -> unit Sourceval yield_reader : 'a -> 'b -> unit