|
|
|
|
<websocketClient variable>.Disconnect (Function) In french: <Variable websocketClient>.Déconnecte Disconnects a client from a WebSocket server. // Retrieve list of clients arrClients is array of websocketClient = WebSocketListConnectedClient() // Disconnect some clients FOR EACH oClient OF arrClients IF oClient.Disconnect() THEN oClient.Disconnect() END END
Syntax <Client>: websocketClient variable Name of the websocketClient variable that corresponds to the client to be disconnected. Remarks - The client disconnection process is called when the client is disconnected.
- This function is asynchronous : it simply requests the disconnection of the client. The client can be actually disconnected later (after <websocketClient variable>.Disconnect has been executed). <websocketClient variable>.Disconnect never returns an error (for example, if the client has been disconnected in the meantime).
Business / UI classification: Business Logic
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|