Skip to content
Jonathan Coates edited this page Aug 15, 2020 · 8 revisions

See the documentation at tweaked.cc.

Events

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.