# Functions
IsDisconnected method is helper to identify error is disconnect related.
New method creates aah WebSocket engine with given aah application instance :).
# Constants
EventOnError event published whenever error occurs in the lifecycle such as Origin Check failed, WebSocket/WebSocket Action not found, WebSocket Action parameter parse error, and WebSocket upgrade fails.
EventOnPostConnect event published right after the successful WebSocket connection which is established with the aah server.
EventOnPostDisconnect event published right after the WebSocket client got disconnected.
EventOnPreConnect event published before connection gets upgraded to WebSocket.
# Variables
WebSocket errors.
WebSocket errors.
WebSocket errors.
WebSocket errors.
WebSocket errors.
WebSocket errors.
WebSocket errors.
# Type aliases
EventCallbackFunc func type used for all WebSocket event callback.
IDGenerator func type used to implement custom WebSocket connection ID.