5 writes to StreamBufferCapacity
Microsoft.AspNetCore.SignalR.Core (2)
HubOptionsSetup.cs (1)
73
options.
StreamBufferCapacity
= DefaultStreamBufferCapacity;
HubOptionsSetup`T.cs (1)
38
options.
StreamBufferCapacity
= _hubOptions.StreamBufferCapacity;
Microsoft.AspNetCore.SignalR.Tests (3)
AddSignalRTests.cs (2)
126
options.
StreamBufferCapacity
= 42;
143
options.
StreamBufferCapacity
= null;
HubConnectionHandlerTests.cs (1)
3593
options.
StreamBufferCapacity
= 1;
8 references to StreamBufferCapacity
Microsoft.AspNetCore.SignalR.Core (4)
HubConnectionHandler.cs (2)
125
StreamBufferCapacity = _hubOptions.
StreamBufferCapacity
?? _globalHubOptions.
StreamBufferCapacity
?? HubOptionsSetup.DefaultStreamBufferCapacity,
HubOptionsSetup.cs (1)
71
if (options.
StreamBufferCapacity
== null)
HubOptionsSetup`T.cs (1)
38
options.StreamBufferCapacity = _hubOptions.
StreamBufferCapacity
;
Microsoft.AspNetCore.SignalR.Tests (4)
AddSignalRTests.cs (4)
107
Assert.Equal(globalHubOptions.
StreamBufferCapacity
, hubOptions.
StreamBufferCapacity
);
130
Assert.Equal(42, serviceProvider.GetRequiredService<IOptions<HubOptions<CustomHub>>>().Value.
StreamBufferCapacity
);
158
Assert.Null(globalOptions.
StreamBufferCapacity
);