Skip to content

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

AddBroadcastChannel(IClientBuilder, string, Action<BroadcastChannelOptions>)

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

Parameters

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