Dela via


Microsoft.AspNetCore.SignalR.Client Namespace

Contains types that are used for communicating with a SignalR server.

Classes

HttpConnectionFactory

A factory for creating HttpConnection instances.

HubConnection

A connection used to invoke hub methods on a SignalR Server.

HubConnectionBuilder

A builder for configuring HubConnection instances.

HubConnectionBuilderExtensions

Extension methods for IHubConnectionBuilder.

HubConnectionBuilderHttpExtensions

Extension methods for IHubConnectionBuilder.

HubConnectionExtensions

Extension methods for HubConnectionExtensions.

HubConnectionOptions

Configures options for the HubConnection.

MessagePackProtocolHubConnectionBuilderExtensions
RetryContext

The context passed to NextRetryDelay(RetryContext) to help the policy determine how long to wait before the next retry and whether there should be another retry at all.

Interfaces

IConnectionFactory

A factory abstraction for creating connections to a SignalR server.

IHubConnectionBuilder

A builder abstraction for configuring HubConnection instances.

IRetryPolicy

An abstraction that controls when the client attempts to reconnect and how many times it does so.

Enums

HubConnectionState

Describes the current state of the HubConnection to the server.

Remarks

For more information about the SignalR client, see ASP.NET Core SignalR .NET Client.