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, Action<HttpConnectionDispatcherOptions>) |
Maps incoming requests with the specified path to the provided connection pipeline. |
MapConnectionHandler<TConnectionHandler>(PathString) |
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. |