TsgcWSPServer_sgc › Methods

TsgcWSPServer_sgc Methods

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

PubSub

NameDescription
PublishPublishes a message to every client subscribed to a channel.
BroadcastBroadcasts a text or stream payload to all connected clients, optionally filtered by channel.
ClearQueueDiscards queued retained publications pending on a channel.

RPC replies

NameDescription
RPCResultReplies to a pending RPC request with a successful result.
RPCErrorReplies to a pending RPC request with a JSON-RPC error object.

Advanced

NameDescription
WriteDataSends a message to the connection identified by its Guid using the sgc envelope.

All Methods (alphabetical)

NameDescription
BroadcastBroadcasts a text or stream payload to all connected clients, optionally filtered by channel.
ClearQueueDiscards queued retained publications pending on a channel.
PublishPublishes a message to every client subscribed to a channel.
RPCErrorReplies to a pending RPC request with a JSON-RPC error object.
RPCResultReplies to a pending RPC request with a successful result.
WriteDataSends a message to the connection identified by its Guid using the sgc envelope.