HORIZON HASKELLDocslts/ghc-9.14.x3e2d5682026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 3e2d568 · 2026-10-11

Package0.2.1

vortex-ws

Websocket transport, and the door a public one needs

Modules

8 modules

Description

Produces a Session per websocket connection. Knows nothing about wisps, shells, or evaluation: text frames carry the vortex wire and binary frames a duplexing call's bytes. serveWsWith and serveWsOn hold each connection to limits (a handshake deadline, a cap on a message and a frame, no compression) and to a test of its request head, on a TCP port or a socket already listening. Vortex.Ws.Door is the door a websocket on the open internet needs: socket activation, a handshake deadline, an Origin check refusing with 403, the peer from X-Real-IP with an IPv6 address counted by its /64, session caps per peer and overall, and token buckets, configured by a vortex settings program.

Depends on

11 packages

Used by in this set · 1