33 lines
2.9 KiB
Markdown
33 lines
2.9 KiB
Markdown
<!--- Hugo front matter used to generate the website version of this page:
|
|
--->
|
|
|
|
<!-- NOTE: THIS FILE IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
|
|
<!-- see templates/registry/markdown/attribute_namespace.md.j2 -->
|
|
|
|
# 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](https://github.com/dotnet/aspnetcore/blob/main/src/SignalR/docs/specs/TransportProtocols.md) | `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 |  |
|