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:

  1. "data": {
  2. "Target": "<enter message name>",
  3. {
  4. "sender": "dapr",
  5. "text": "Message from dapr output binding"
  6. }
  7. },
  8. "group": "chat123"
  9. },
  10. }
  • create