HubOptionsSetup(IEnumerable<IHubProtocol>) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Constructs the HubOptionsSetup with a list of protocols added to Dependency Injection.
public:
HubOptionsSetup(System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::SignalR::Protocol::IHubProtocol ^> ^ protocols);
public HubOptionsSetup (System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.SignalR.Protocol.IHubProtocol> protocols);
new Microsoft.AspNetCore.SignalR.HubOptionsSetup : seq<Microsoft.AspNetCore.SignalR.Protocol.IHubProtocol> -> Microsoft.AspNetCore.SignalR.HubOptionsSetup
Public Sub New (protocols As IEnumerable(Of IHubProtocol))
Parameters
- protocols
- IEnumerable<IHubProtocol>
The list of IHubProtocols that are from Dependency Injection.