Share via


HubConnectionBuilderHttpExtensions.WithStatefulReconnect Method

Definition

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.

Applies to