TsgcWSPClient_Files › Methods › WriteData
Sends a plain text message to the server over the Files subprotocol.
procedure WriteData(const aText: String);
| Name | Type | Description |
|---|---|---|
aText | const String | Text payload to send inside a sgc message envelope. |
Low-level send that wraps the text in a sgc message envelope (method=Message) and writes it on the underlying Client. Use SendFile for file uploads; WriteData is intended for auxiliary control messages that share the same transport.
oProtocol.WriteData('ping');