CreateWebSocketClient()
Creates a websocket client.
Requires Extension: WebSockets Client Extension
CreateWebSocketClient( endpoint=string, component=component );
Returns: any
| Argument | Description | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
endpoint
string,
required
|
edit
Endpoint to the websocket (Example: ws://localhost:8080/whatever/) Alias: url |
|||||||||||||||||||||
|
component
component,
required
|
edit
Component with the callback listener functions.
Alias: cfc, listener |
Examples
There are currently no examples for this function 27,924ms WARN No examples for function CreateWebSocketClientSee also
- Internet Protocols
- WebSocket Extension
- WebSocketInfo()
- Search Issue Tracker open_in_new
- Search Lucee Test Cases open_in_new (good for further, detailed examples)