Dela via


HubOptionsSetup Class

Definition

Class to configure the HubOptions.

public ref class HubOptionsSetup : Microsoft::Extensions::Options::IConfigureOptions<Microsoft::AspNetCore::SignalR::HubOptions ^>
public class HubOptionsSetup : Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.SignalR.HubOptions>
type HubOptionsSetup = class
    interface IConfigureOptions<HubOptions>
Public Class HubOptionsSetup
Implements IConfigureOptions(Of HubOptions)
Inheritance
HubOptionsSetup
Implements

Constructors

HubOptionsSetup(IEnumerable<IHubProtocol>)

Constructs the HubOptionsSetup with a list of protocols added to Dependency Injection.

Methods

Configure(HubOptions)

Configures the default values of the HubOptions.

Applies to