websocketregister()

This function is deprecated and will be removed in future versions. Please use the function WebsocketRegister() instead. Registers a Listener Component with a Websocket Endpoint

Status:

deprecated

Requires Extension: Lucee WebSockets Extension

websocketregister( id=string, listener=any );

Returns: any

Argument Description
id
string, required

The Websocket id path, e.g. "/ws/echo" or "/ws/chat/{channel}"

listener
any, required

A Component whose methods will be called to handle Websocket events

Examples

There are currently no examples for this function 21,925ms WARN No examples for function websocketregister

See also