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
normal_closureThe connection was closed normally.Stable
timeoutThe connection was closed due to a timeout.Stable
app_shutdownThe connection was closed because the app is shutting down.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
server_sent_eventsServerSentEvents protocolStable
long_pollingLongPolling protocolStable
web_socketsWebSockets protocolStable