package async_websocket
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
A library that implements the websocket protocol on top of Async
Install
dune-project
Dependency
Authors
Maintainers
Sources
v0.17.0.tar.gz
sha256=ddb4eb48a4440b39171a11dcf1dcd9369c4e4a0ababefb330ffe2c0d397b301a
doc/async_websocket/Websocket/index.html
Module WebsocketSource
Content_reassembler can process fragmented content from websocket frames and reassemble fragmented content into a contiguous buffer.
Source
val create :
?opcode:[ `Text | `Binary ] ->
role:Websocket_role.t ->
Async.Reader.t ->
Async.Writer.t ->
tSource
val close_finished :
t ->
(Connection_close_reason.t * string * Core.Info.t option) Async.Deferred.tSource
val monitor_pongs :
?time_source:Async.Time_source.t ->
ping_every:Core.Time_ns.Span.t ->
concerning_pong_response_delay:Core.Time_ns.Span.t ->
on_concerning_pong_response_delay:(unit -> unit) ->
t ->
unitListen for pongs frames, and report when it has been too long since the last pong frame. Since pong frames don't typically arrive unsolicited (though it is legal if they do), we send ping frames at the specified interval.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>