Event websocket_message
: url: string, contents: string, binary: boolean
Queued when a websocket recieves a message. One may listen to this event instead of using .receive()
Event websocket_closed
: url: string, reason: string|nil, status: number|nil
Queued when a websocket is closed.