HubConnectionBuilderHttpExtensions.WithStatefulReconnect Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Configures the HttpConnectionOptions to negotiate stateful reconnect with the server.
public static Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder WithStatefulReconnect (this Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder hubConnectionBuilder);
static member WithStatefulReconnect : Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder -> Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder
<Extension()>
Public Function WithStatefulReconnect (hubConnectionBuilder As IHubConnectionBuilder) As IHubConnectionBuilder
Parameters
- hubConnectionBuilder
- IHubConnectionBuilder
The IHubConnectionBuilder to configure.
Returns
The same instance of the IHubConnectionBuilder for chaining.