package dream
Tidy, feature-complete Web framework
Install
Dune Dependency
Authors
Maintainers
Sources
dream-1.0.0-alpha1.tar.gz
sha256=c8d988568fbbeffb151abdb4d6b903fbd3897842d3eb9b2c28fb350f0f02bbd4
md5=b8ad7f3e30f3e88e5451d92e42b49ce4
doc/websocketaf/Websocketaf/Client_connection/index.html
Module Websocketaf.Client_connection
Source
Source
type error = [
| Httpaf.Client_connection.error
| `Handshake_failure of Httpaf.Response.t * [ `read ] Httpaf.Body.t
]
Source
type input_handlers = {
frame : opcode:Websocket.Opcode.t -> is_fin:bool -> Bigstringaf.t -> off:int -> len:int -> unit;
eof : unit -> unit;
}
Source
val connect :
nonce:string ->
?headers:Httpaf.Headers.t ->
sha1:(string -> string) ->
error_handler:(error -> unit) ->
websocket_handler:(Wsd.t -> input_handlers) ->
string ->
t
Source
val create :
?error_handler:(Wsd.t -> [ `Exn of exn ] -> unit) ->
(Wsd.t -> input_handlers) ->
t
Source
val next_write_operation :
t ->
[ `Write of Bigstringaf.t IOVec.t list | `Yield | `Close of int ]
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>