WebSocket 4000 Private Use (exemplo)

Codes 4000–4999 are reserved for private use by applications and libraries. The 4000–4999 range is not defined by any RFC and can be used freely by applications to communicate close reasons specific to their application protocol. For example: 4001 for "session expired", 4002 for "user disconnected by admin", 4003 for "incompatible protocol version". Document your private codes carefully — they have no meaning outside your system.

Part of GalacticaSuite Cosmos — open the API client to test requests.