package dream-httpaf
Internal: shared http/af stack for Dream (server) and Hyper (client)
Install
Dune Dependency
Authors
Maintainers
Sources
dream-1.0.0-alpha5.tar.gz
sha256=05bc7f6aff94893c151f3a5bcdee3328920c69b3763fac49ba27348dc7745901
md5=de6f6908ae899c9e85f2c751a0263932
doc/dream-httpaf.dream-websocketaf/Dream_websocketaf/Server_connection/index.html
Module Dream_websocketaf.Server_connection
Source
Source
type t = {
mutable state : state;
websocket_handler : Wsd.t -> Websocket_connection.input_handlers;
}
Source
val create :
sha1:(string -> string) ->
?error_handler:Wsd.error_handler ->
(Wsd.t -> Websocket_connection.input_handlers) ->
t
Source
val create_websocket :
?error_handler:Wsd.error_handler ->
(Wsd.t -> Websocket_connection.input_handlers) ->
t
Source
val next_write_operation :
t ->
[ `Close of int | `Write of Bigstringaf.t Faraday.iovec list | `Yield ]
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>