HORIZON HASKELLDocslts/ghc-10.0.x2b276322026-10-31Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 2b27632 · 2026-10-31

Package0.2.2

vortex-ws

Websocket transport, and the door a public one needs

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