TsgcWSPClient_sgc › Methods

TsgcWSPClient_sgc Methods

Public methods grouped by purpose, followed by the full alphabetical list.

PubSub

NameDescription
SubscribeSubscribes the client to a custom channel.
UnSubscribeUnsubscribes the client from a custom channel.
UnSubscribeAllUnsubscribes the client from all active channel subscriptions.
PublishPublishes a message to all clients subscribed to a channel.
BroadcastBroadcasts a message to all connected clients, optionally filtered by channel.

RPC

NameDescription
RPCSends a remote procedure call request and awaits a Result or Error response.
NotifySends a one-way notification to the server that does not expect a response.

Transactions

NameDescription
StartTransactionBegins a new transaction; subsequent messages are queued until Commit or RollBack.
CommitCommits the current transaction so the server processes all queued messages.
RollBackRolls back the current transaction and discards all queued messages on the server.

Advanced

NameDescription
WriteDataSends a plain text message to the server using the sgc message envelope.

All Methods (alphabetical)

NameDescription
BroadcastBroadcasts a message to all connected clients, optionally filtered by channel.
CommitCommits the current transaction so the server processes all queued messages.
NotifySends a one-way notification to the server that does not expect a response.
PublishPublishes a message to all clients subscribed to a channel.
RollBackRolls back the current transaction and discards all queued messages on the server.
RPCSends a remote procedure call request and awaits a Result or Error response.
StartTransactionBegins a new transaction; subsequent messages are queued until Commit or RollBack.
SubscribeSubscribes the client to a custom channel.
UnSubscribeUnsubscribes the client from a custom channel.
UnSubscribeAllUnsubscribes the client from all active channel subscriptions.
WriteDataSends a plain text message to the server using the sgc message envelope.