SignalR

SignalR Attributes

SignalR attributes

Attributes:

KeyStabilityValue TypeDescriptionExample Values
signalr.connection.statusStablestringSignalR HTTP connection closure status.app_shutdown; timeout
signalr.transportStablestringSignalR transport typeweb_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.

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