Share via


ServerSideBlazorBuilderExtensions.AddHubOptions Method

Definition

Adds hub options for the configuration of the SignalR Hub used by 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

Parameters

configure
Action<HubOptions>

A callback to configure the hub options.

Returns

The IServerSideBlazorBuilder.

Applies to