File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -154,6 +154,14 @@ You can increase this value to avoid client disconnect.
154
154
- This option defines a function to customize the transports that clients can use to send HTTP requests .
155
155
- Use this options instead of [`HttpConnectionDispatcherOptions .Transports `](/ aspnet / core / signalr / configuration ? & tabs = dotnet #advanced - http - configuration - options ) to configure transports .
156
156
157
+ #### `AllowStatefulReconnects`
158
+
159
+ - Default value is `null `
160
+ - This option enables or disables stateful reconnects for all hubs .
161
+ - If `null `, SDK will read [hub settings ](/ dotnet / api / microsoft .aspnetcore .http .connections .httpconnectiondispatcheroptions .allowstatefulreconnects ).
162
+ - If `true `, Azure SignalR Service will enable stateful reconnects in all of declared hubs . And clients need [enable stateful reconnects in client side ](/ aspnet / core / signalr / configuration ).
163
+ - If `false `, Azure SignalR Service will disable stateful reconnects in all of declared hubs .
164
+
157
165
### Sample
158
166
159
167
You can configure above options like the following sample code .
You can’t perform that action at this time.
0 commit comments