Skip to content

Commit

Permalink
public allow stateful reconnects in service options. (#1950)
Browse files Browse the repository at this point in the history
  • Loading branch information
vwxyzh authored Jun 4, 2024
1 parent 9e9f6fa commit b316a08
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Microsoft.Azure.SignalR/ServiceOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -122,13 +122,13 @@ public int ConnectionCount
public Func<HttpContext, HttpTransportType> TransportTypeDetector { get; set; } = null;

/// <summary>
/// Allow clients enable stateful reconnects for connecting to service.
/// Allow clients enable stateful reconnects for all hubs.
/// By default is disabled.
/// It can also be configurate <see cref="HttpConnectionDispatcherOptions"/> by hub in net 8.
/// It can also configurate <see cref="HttpConnectionDispatcherOptions"/> by hub in net 8.
/// Enable stateful reconnection in client side:
/// * Make sure client sdk is net8 or later.
/// * Enable stateful reconnect: <code>builder.withStatefulReconnect()</code>
/// * Enable stateful reconnect in client side, e.g.: <code>builder.withStatefulReconnect()</code>
/// </summary>
internal bool? AllowStatefulReconnects { get; set; }
public bool? AllowStatefulReconnects { get; set; }
}
}

0 comments on commit b316a08

Please sign in to comment.