Datasnap.DSPlatform.TDBXServerComponent.BroadcastToChannel

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function BroadcastToChannel(const ChannelName: string; const Msg: TJSONValue): Boolean;

C++

bool __fastcall BroadcastToChannel(const System::UnicodeString ChannelName, System::Json::TJSONValue* const Msg);

Properties

Type Visibility Source Unit Parent
function public
Datasnap.DSPlatform.pas
Datasnap.DSPlatform.hpp
Datasnap.DSPlatform TDBXServerComponent

Description

Sends a message to all registered clients.

BroadcastToChannel sends a message to all clients who have registered a client channel/callback - with ConsumeClientChannel, for example - specifying a ChannelName in the registration process that matches the ChannelName of this Broadcast call.

See Also