Dela via


Microsoft.AspNetCore.Http.Connections Namespace

Contains types for configuring SignalR connections.

Classes

AvailableTransport

Part of the NegotiationResponse that represents an individual transport and the trasfer formats the transport supports.

ConnectionOptions

Options used to change behavior of how connections are handled.

ConnectionOptionsSetup

Sets up ConnectionOptions.

ConnectionsRouteBuilder

Maps routes to ASP.NET Core Connection Handlers.

This class is obsolete and will be removed in a future version. The recommended alternative is to use MapConnection and MapConnectionHandler<TConnectionHandler> inside Microsoft.AspNetCore.Builder.UseEndpoints(...).

HttpConnectionContextExtensions

Extension method to get the underlying HttpContext of the connection if there is one.

HttpConnectionDispatcherOptions

Options used to configure the HTTP connection dispatcher.

HttpTransports

Constants related to HTTP transports.

LongPollingOptions

Options used to configure the long polling transport.

NegotiateMetadata

Metadata to identify the /negotiate endpoint for HTTP connections

NegotiateProtocol

The protocol for reading and writing negotiate requests and responses.

NegotiationResponse

A response to a '/negotiate' request.

WebSocketOptions

Options used by the WebSockets transport to modify the transports behavior.

Enums

HttpTransportType

Specifies transports that the client can use to send HTTP requests.

Remarks

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