Skip to content

ChannelHostingExtensions.AddBroadcastChannel(IClientBuilder, string, Action<OptionsBuilder<BroadcastChannelOptions>>)

AddBroadcastChannel(IClientBuilder, string, Action<OptionsBuilder<BroadcastChannelOptions>>)

staticextension
View source
public static IClientBuilder AddBroadcastChannel(this IClientBuilder @this, string name, Action<OptionsBuilder<BroadcastChannelOptions>> configureOptions = null)
Add a new broadcast channel to the client.

Parameters

thisIClientBuilder
The builder.
namestring
The name of the provider
configureOptionsAction<OptionsBuilder<BroadcastChannelOptions>>
The configuration delegate.