package cohttp_async_websocket
Websocket library for use with cohttp and async
Install
Dune Dependency
Authors
Maintainers
Sources
cohttp_async_websocket-v0.16.0.tar.gz
sha256=786451c7d47cfe1cc54201b168b81949e2d847d562285107f596062e8d3185c9
CHANGES.md.html
Release v0.16.0
Update function signatures:
Server.create
uses(Websocket.t -> unit Deferred.t)
instead of(string Pipe.Reader.t -> string Pipe.Writer.t -> unit Deferred.t)
Client.create
andClient.with_websocket_client
useWebsocket.t
instead ofstring Pipe.Reader.t
andstring Pipe.Writer.t
Add new parameters to
Cohttp_async_websocket.Client
functions:bind_to_address
inClient.create
allows binding to a specific address when creating a WebSocket clientopcode
inClient.create
andClient.with_websocket_client
enables specifying the desired WebSocket frame opcode (Text
orBinary
)
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>