HubConnectionBuilderHttpExtensions.WithStatefulReconnect Metoda

Definice

Nakonfiguruje HttpConnectionOptions pro vyjednání stavového opětovného připojení se serverem.

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

Parametry

hubConnectionBuilder
IHubConnectionBuilder

Konfigurace IHubConnectionBuilder .

Návraty

Stejná instance IHubConnectionBuilder pro řetězení.

Platí pro