ServerSideBlazorBuilderExtensions.AddHubOptions Método

Definição

Adiciona opções de hub para a configuração do Hub do SignalR usado pelo Server-Side Blazor.

public static Microsoft.Extensions.DependencyInjection.IServerSideBlazorBuilder AddHubOptions (this Microsoft.Extensions.DependencyInjection.IServerSideBlazorBuilder builder, Action<Microsoft.AspNetCore.SignalR.HubOptions> configure);
static member AddHubOptions : Microsoft.Extensions.DependencyInjection.IServerSideBlazorBuilder * Action<Microsoft.AspNetCore.SignalR.HubOptions> -> Microsoft.Extensions.DependencyInjection.IServerSideBlazorBuilder
<Extension()>
Public Function AddHubOptions (builder As IServerSideBlazorBuilder, configure As Action(Of HubOptions)) As IServerSideBlazorBuilder

Parâmetros

configure
Action<HubOptions>

Um retorno de chamada para configurar as opções de hub.

Retornos

O IServerSideBlazorBuilder.

Aplica-se a