ConnectionsRouteBuilder Class
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.
Caution
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(...).
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(...).
public ref class ConnectionsRouteBuilder
public class ConnectionsRouteBuilder
[System.Obsolete("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(...).")]
public class ConnectionsRouteBuilder
type ConnectionsRouteBuilder = class
[<System.Obsolete("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(...).")>]
type ConnectionsRouteBuilder = class
Public Class ConnectionsRouteBuilder
- Inheritance
-
ConnectionsRouteBuilder
- Attributes
Methods
MapConnectionHandler<TConnectionHandler>(PathString) |
Maps incoming requests with the specified path to the provided connection pipeline. |
MapConnectionHandler<TConnectionHandler>(PathString, Action<HttpConnectionDispatcherOptions>) |
Maps incoming requests with the specified path to the provided connection pipeline. |
MapConnections(PathString, Action<IConnectionBuilder>) |
Maps incoming requests with the specified path to the provided connection pipeline. |
MapConnections(PathString, HttpConnectionDispatcherOptions, Action<IConnectionBuilder>) |
Maps incoming requests with the specified path to the provided connection pipeline. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for