|
|
|
|
- Properties specific to websocketClient variables
- WLanguage functions that use the websocketClient type
websocketClient (Type of variable) In french: websocketClient
Not available
The websocketClient type is used to identify and define all the advanced characteristics of a client connected to a WebSocket server. The characteristics of this client can be defined and changed using different WLanguage properties. Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
// Retrieve list of clients arrClients is array of websocketClient = WebSocketListConnectedClient() // To send a message to each client FOR EACH oClient OF arrClients WebSocketSend(oClient, bufMessage) END
Remarks Properties specific to websocketClient variables The following properties can be used to handle clients connected to a WebSocket server: | | | Property name | Type used | Effect |
---|
Connected | Boolean | - True if the client is still connected,
- False otherwise.
This property is read-only. | IP | Character string | Client IP address. This property is read-only. | Note | All types | Business logic data associated with this client. This data is written through programming, to be reused later. The default value is an empty string (""). Using this property, the global context or another client can obtain information about this client. |
WLanguage functions that use the websocketClient type
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|