-
Notifications
You must be signed in to change notification settings - Fork 22
Extensions
Sören Jensen edited this page Jun 25, 2025
·
1 revision
WebSocket allow extending using middlewares.
These general use middlewares are available in this library.
- CloseHandler - Automatically acts on incoming and outgoing Close requests, as specified in WebSocket protocol
- PingResponder - Responds with Pong message when receiving a Ping message, as specified in WebSocket protocol
- Callback - Apply provided callback function on specified actions
- CompressionExtension - Support message compression (Per-Message Deflate)
- FollowRedirect - Follow redirect during handshake (Client only)
- PingInterval - Used to automatically send Ping messages at specified interval
- SubprotocolNegotiation - Helper middleware that negotiate subprotocol
- GraphQL Server - GraphQL server over WebSocket