Updated: February 202612 min read
Realtime Event Reference
Socket.io event contract for auth, presence, clip sync, file transfer, and private share.
Connection and Auth Events
- Client -> authenticate, join_room, get_presence, ping
- Server -> authenticated, joined, presence_update, pong
- Error channel -> auth_error, connection_limit, subscription_required
Clipboard Events
- Client -> send_clip
- Server -> receive_clip, send_success, send_warning, send_error, rate_limited
File Transfer Events
- Client -> file_init, file_chunk, file_ack, file_complete, file_error
- Server -> receive_file_init, receive_file_chunk, receive_file_ack, receive_file_complete, receive_file_error
- Rate control -> file_rate_limited
Tunnel Events
Pending tunnel requests are tracked per session and timed out if sender does not respond in time.
- Server -> tunnel_request
- Client -> tunnel_response