SignalR
SignalR Attributes
SignalR attributes
Attribute | Type | Description | Examples | Stability |
---|---|---|---|---|
signalr.connection.status | string | SignalR HTTP connection closure status. | app_shutdown ; timeout | |
signalr.transport | string | SignalR transport type | web_sockets ; long_polling |
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.
Value | Description | Stability |
---|---|---|
app_shutdown | The connection was closed because the app is shutting down. | |
normal_closure | The connection was closed normally. | |
timeout | The connection was closed due to a timeout. |
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 |
---|---|---|
long_polling | LongPolling protocol | |
server_sent_events | ServerSentEvents protocol | |
web_sockets | WebSockets protocol |
Feedback
Was this page helpful?
Thank you. Your feedback is appreciated!
Please let us know how we can improve this page. Your feedback is appreciated!