TTMSFNCCustomWebsocketClient.CheckIncoming Method
Checks the connection for incoming data and processes one frame when available, waiting up to the configured check timeout. A received close frame triggers a disconnect.
API unit family: TMSFNCWebSocketClient
Declaring type: TTMSFNCCustomWebsocketClient
Syntax
function CheckIncoming: TTMSFNCWebSocketIncomingResult;
Returns
The outcome of the check: no data, data processed, or close received.
Exceptions
| Exception | Description |
|---|---|
EWebSocketClient |
Raised when the client is not active or the handshake has not completed. |