TTMSFNCCustomWebsocketClient.Ping Method
Sends a ping control frame carrying the given text as its payload.
API unit family: TMSFNCWebSocketClient
Declaring type: TTMSFNCCustomWebsocketClient
Overloads
Overload 1
Sends a ping control frame carrying the given text as its payload.
procedure Ping(AMessage: string); overload;
Parameters
| Name | Description |
|---|---|
AMessage |
Text used as the ping payload. |
Overload 2
Sends a ping control frame carrying the given bytes as its payload.
procedure Ping(ABytes: TBytes); overload;
Parameters
| Name | Description |
|---|---|
ABytes |
Binary ping payload. |