Azure SignalR binding spec
- The metadata contains the Azure SignalR connection string.
- The optional
hub
metadata value defines the hub in which the message will be send. The hub can be dynamically defined as a metadata value when publishing to an output binding (key is “hub”).
Warning
The above example uses secrets as plain strings. It is recommended to use a secret store for the secrets as described here.
- group: will send the message to a specific Azure SignalR group
- user: will send the message to a specific Azure SignalR user
Applications publishing to an Azure SignalR output binding should send a message with the following contract:
"data": {
"Target": "<enter message name>",
{
"sender": "dapr",
"text": "Message from dapr output binding"
}
},
"group": "chat123"
},
}
- create