SignalR

SignalR Attributes

SignalR attributes

AttributeTypeDescriptionExamplesStability
signalr.connection.statusstringSignalR HTTP connection closure status.app_shutdown; timeoutStable
signalr.transportstringSignalR transport typeweb_sockets; long_pollingStable

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.

ValueDescriptionStability
app_shutdownThe connection was closed because the app is shutting down.Stable
normal_closureThe connection was closed normally.Stable
timeoutThe connection was closed due to a timeout.Stable

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.

ValueDescriptionStability
long_pollingLongPolling protocolStable
server_sent_eventsServerSentEvents protocolStable
web_socketsWebSockets protocolStable