|
|
|
|
|
<websocketClient variable>.Send (Función) Sends a message from the WebSocket server to the client.
tabClients is array of websocketClient = WebSocketListeClientConnecté()
FOR EACH oClient OF tabClients
oClient.Envoie(bufMessage)
END
Sintaxis
Sends(<Client> , <Message>)
<Client>: Variable de tipo websocketClient Name of the websocketClient variable that corresponds to the client to which the message will be sent. <Message>: Cadena de caracteres Message to send. Observaciones - This function is asynchronous the function simply requests that the message be sent to the client. The message can actually be sent later (after <websocketClient variable>.Send has been executed). <websocketClient variable>.Send never returns an error (for example, if the client has been disconnected in the meantime).
- The WebSocket protocol allows two message formats: binary or string (encoded in UTF-8). <websocketClient variable>.Send automatically chooses the format according to the type of parameter received.
Clasificación Lógica de negocio / UI: Lógica de negocio Componente: wd300awws.dll
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|