1 instantiation of HubOptionsSetup
Microsoft.AspNetCore.SignalR.Tests (1)
AddSignalRTests.cs (1)
35
var hubOptions = new
HubOptionsSetup
(new List<IHubProtocol>());
7 references to HubOptionsSetup
Microsoft.AspNetCore.SignalR (1)
SignalRDependencyInjectionExtensions.cs (1)
46
services.TryAddEnumerable(ServiceDescriptor.Singleton<IConfigureOptions<HubOptions>,
HubOptionsSetup
>());
Microsoft.AspNetCore.SignalR.Core (5)
HubConnectionHandler.cs (4)
119
var handshakeTimeout = _hubOptions.HandshakeTimeout ?? _globalHubOptions.HandshakeTimeout ??
HubOptionsSetup
.DefaultHandshakeTimeout;
123
KeepAliveInterval = _hubOptions.KeepAliveInterval ?? _globalHubOptions.KeepAliveInterval ??
HubOptionsSetup
.DefaultKeepAliveInterval,
124
ClientTimeoutInterval = _hubOptions.ClientTimeoutInterval ?? _globalHubOptions.ClientTimeoutInterval ??
HubOptionsSetup
.DefaultClientTimeoutInterval,
125
StreamBufferCapacity = _hubOptions.StreamBufferCapacity ?? _globalHubOptions.StreamBufferCapacity ??
HubOptionsSetup
.DefaultStreamBufferCapacity,
HubOptionsSetup.cs (1)
28
/// Constructs the <see cref="
HubOptionsSetup
"/> with a list of protocols added to Dependency Injection.
Microsoft.AspNetCore.SignalR.Tests (1)
AddSignalRTests.cs (1)
35
var
hubOptions = new HubOptionsSetup(new List<IHubProtocol>());