|
|
|
|
|
WebSocketDisconnect (Function) In french: WebSocketDéconnecte Disconnects a client from a WebSocket server.
tabClients is array of websocketClient = WebSocketListConnectedClient()
FOR EACH oClient OF tabClients
IF bDéconnecte(oClient) THEN
WebSocketDisconnect(oClient)
END
END
Syntax
WebSocketDisconnect(<Client>)
<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 the function only requests the client to disconnect. The client can be actually disconnected later (after WebSocketDisconnect has been executed). WebSocketDisconnect 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…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|