HubEndpointRouteBuilderExtensions Class

Definition

Extension methods on IEndpointRouteBuilder to add routes to Hubs.

public ref class HubEndpointRouteBuilderExtensions abstract sealed
public static class HubEndpointRouteBuilderExtensions
type HubEndpointRouteBuilderExtensions = class
Public Module HubEndpointRouteBuilderExtensions
Inheritance
HubEndpointRouteBuilderExtensions

Methods

MapHub<THub>(IEndpointRouteBuilder, String)

Maps incoming requests with the specified path to the specified Hub type.

MapHub<THub>(IEndpointRouteBuilder, String, Action<HttpConnectionDispatcherOptions>)

Maps incoming requests with the specified path to the specified Hub type.

Applies to