TsgcWSPClient_Dataset › Methods › Notify
Sends a one-way notification to the server that does not expect a response.
procedure Notify(const aMethod: string; const aParams: string = ''; const aGuid: String = ''; const aQueue: TwsQueue = queueLevel0);
| Name | Type | Description |
|---|---|---|
aMethod | const string | Name of the remote method to invoke on the server. |
aParams | const string | Optional parameter payload (typically a JSON string). |
aGuid | const String | Optional Guid of the target server-side Dataset protocol instance. Leave empty to use the default. |
aQueue | const TwsQueue | Queue level used when the server applies transactional queuing to the notification. |
Notify is a fire-and-forget variant of RPC: no Id is generated and neither OnRPCResult nor OnRPCError is raised. Use it when the client does not need to correlate a response with the call.
oProtocol.Notify('log', '{"text":"client started"}');