mirror of
https://github.com/keroserene/snowflake.git
synced 2026-08-17 13:07:20 +02:00
The client opts into turbotunnel mode by sending a magic token at the beginning of each WebSocket connection (before sending even the ClientID). The token is just a random byte string I generated. The server peeks at the token and, if it matches, uses turbotunnel mode. Otherwise, it unreads the token and continues in the old one-session-per-WebSocket mode. |
||
|---|---|---|
| .. | ||
| encapsulation | ||
| messages | ||
| safelog | ||
| turbotunnel | ||
| util | ||
| websocketconn | ||