TsgcWSPServer_sgc › Methods
TsgcWSPServer_sgc Methods
Public methods grouped by purpose, followed by the full alphabetical list.
PubSub
| Name | Description |
| Publish | Publishes a message to every client subscribed to a channel. |
| Broadcast | Broadcasts a text or stream payload to all connected clients, optionally filtered by channel. |
| ClearQueue | Discards queued retained publications pending on a channel. |
RPC replies
| Name | Description |
| RPCResult | Replies to a pending RPC request with a successful result. |
| RPCError | Replies to a pending RPC request with a JSON-RPC error object. |
Advanced
| Name | Description |
| WriteData | Sends a message to the connection identified by its Guid using the sgc envelope. |
All Methods (alphabetical)
| Name | Description |
| Broadcast | Broadcasts a text or stream payload to all connected clients, optionally filtered by channel. |
| ClearQueue | Discards queued retained publications pending on a channel. |
| Publish | Publishes a message to every client subscribed to a channel. |
| RPCError | Replies to a pending RPC request with a JSON-RPC error object. |
| RPCResult | Replies to a pending RPC request with a successful result. |
| WriteData | Sends a message to the connection identified by its Guid using the sgc envelope. |