Compartir a través de


HubRouteBuilder Clase

Definición

Precaución

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

Asigna las solicitudes entrantes a Hub los tipos.

Esta clase está obsoleta y se quitará en una versión futura. La alternativa recomendada es usar MapHub THub<> dentro de Microsoft.AspNetCore.Builder.UseEndpoints(...).

public ref class HubRouteBuilder
public class HubRouteBuilder
[System.Obsolete("This class is obsolete and will be removed in a future version. The recommended alternative is to use MapHub<THub> inside Microsoft.AspNetCore.Builder.UseEndpoints(...).")]
public class HubRouteBuilder
type HubRouteBuilder = class
[<System.Obsolete("This class is obsolete and will be removed in a future version. The recommended alternative is to use MapHub<THub> inside Microsoft.AspNetCore.Builder.UseEndpoints(...).")>]
type HubRouteBuilder = class
Public Class HubRouteBuilder
Herencia
HubRouteBuilder
Atributos

Constructores

HubRouteBuilder(ConnectionsRouteBuilder)
Obsoletos.

Inicializa una nueva instancia de la clase HubRouteBuilder.

Métodos

MapHub<THub>(PathString, Action<HttpConnectionDispatcherOptions>)
Obsoletos.

Asigna las solicitudes entrantes con la ruta de acceso especificada al tipo especificado Hub .

MapHub<THub>(PathString)
Obsoletos.

Asigna las solicitudes entrantes con la ruta de acceso especificada al tipo especificado Hub .

Se aplica a