TsgcWSPClient_WAMP › Methods › CancelCall
Requests cancellation of an in-flight RPC previously started with Call.
procedure CancelCall(const aCallId: string);
| Name | Type | Description |
|---|---|---|
aCallId | const string | Identifier of the outstanding call to abort. Must match the aCallId passed to a previous Call that has not yet completed. |
Sends a WAMP v1 CALL_CANCEL frame for the given id. Cancellation is advisory: the server may still deliver a final OnCallResult if processing has already completed, or fire OnCallError with a cancellation error URI. The client must continue to accept the next event for that id so that local bookkeeping (pending-call dictionaries, timers) can be cleared deterministically.
WAMP.CancelCall(vCallId);