Skip to main content

broadcast

AsyncMethod
This is a method of the GatewayProtocol class in the gateway module.
Broadcast an event to all connected clients.

Signature

async def broadcast(&self, event: GatewayEvent, exclude: Option<Vec<String>>) -> Result<()>

Parameters

event
GatewayEvent
required
No description available.
exclude
Option<Vec<String>>
required
No description available.

Returns

Returns
Result<()>
The result of the operation.