Server-Side Subscriptions
A device can subscribe to the messages from another device. This allows for messages to be forwarded from one device to another.
Security Configuration
The device must have the appropriate whitelists configured in order to allow message forwarding.
{
receiveWhitelist: [ 'device-b' ]
}
{
configureWhitelist: [ 'device-a' ]
}
When Device A
subscribes to Device B
received messages, the message will be automatically forwarded and emitted from Device A
.
Required Whitelists
broadcast
:configureWhitelist
orreceiveWhitelist
config
:configureWhitelist
ordiscoverWhitelist
received
:configureWhitelist
orreceiveAsWhitelist
sent
:configureWhitelist
Use the Subscription API to manage your subscriptions.