Skip to content

connectRelayPublisher

function connectRelayPublisher(options): Promise<RelayPublisher>;

Defined in: relay-sdks/ts/src/publish.ts:240

Open a dedicated Relay publisher connection. Subscribers use connectRelaySubscriber; this initial publishing API does not share their physical transport. A relay must solicit the namespace and subscribe upstream before data can flow.

Parameter Type
options ConnectRelayPublisherOptions

Promise<RelayPublisher>