Sends a broadcast message through the Realtime REST API instead of the websocket. The channel does not have to be subscribed.
byte[] payload is sent as raw binary, which subscribers of this client do not receive.PrivateChannel()), the request carries the client's current access token.RealtimeException with the HTTP status code when the server rejects the request.Channel() no longer requires ConnectAsync() first. On 8.11.0 and 8.12.0, connect the client before creating the channel.var channel = supabase.Realtime.Channel("cursor");
await channel.HttpSendAsync("cursor", new Dictionary<string, object>
{
{ "cursorX", 123 },
{ "cursorY", 456 }
});
var channel = supabase.Realtime.PrivateChannel("room:1");
await channel.HttpSendAsync("announcement", new Dictionary<string, object>
{
{ "text", "Hello" }
}, cancellationToken);