2.9 KiB
2.9 KiB
SignalR
Signalr Attributes
SignalR attributes
| Attribute | Type | Description | Examples | Stability |
|---|---|---|---|---|
signalr.connection.status |
string | SignalR HTTP connection closure status. | normal_closure; timeout; app_shutdown |
|
signalr.transport |
string | SignalR transport type | server_sent_events; long_polling; web_sockets |
signalr.connection.status has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
signalr.transport has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
| Value | Description | Stability |
|---|---|---|
server_sent_events |
ServerSentEvents protocol | |
long_polling |
LongPolling protocol | |
web_sockets |
WebSockets protocol |