client
Client Events¶
connect¶
- Description: Triggered when client successfully connects to server
- Usage:
ready¶
- Description: Triggered when client is fully ready
- Usage:
disconnect¶
- Description: Triggered when client disconnects
- Usage:
handshake¶
- Description: Initial handshake complete
- Usage:
Error Handling¶
error¶
- Description: Handles dispatch errors
- Parameters:
event_name:str- Name of the event that caused the errorerror:Exception- The exception that was raised- Usage:
Setup¶
setup hook¶
- Description: Setup actions before client starts running
- Usage: