2 instantiations of ConnectionOptions
Microsoft.AspNetCore.Http.Connections.Tests (2)
HttpConnectionDispatcherTests.cs (1)
3772
var connectionOptions = new
ConnectionOptions
();
HttpConnectionManagerTests.cs (1)
431
return new HttpConnectionManager(loggerFactory, lifetime, Options.Create(new
ConnectionOptions
()), metrics ?? new HttpConnectionsMetrics(new TestMeterFactory()));
9 references to ConnectionOptions
Microsoft.AspNetCore.Http.Connections (8)
ConnectionOptionsSetup.cs (4)
9
/// Sets up <see cref="
ConnectionOptions
"/>.
11
public class ConnectionOptionsSetup : IConfigureOptions<
ConnectionOptions
>
22
/// <param name="options">The <see cref="
ConnectionOptions
"/>.</param>
23
public void Configure(
ConnectionOptions
options)
ConnectionsDependencyInjectionExtensions.cs (3)
25
services.TryAddEnumerable(ServiceDescriptor.Singleton<IConfigureOptions<
ConnectionOptions
>, ConnectionOptionsSetup>());
36
/// <param name="options">A callback to configure <see cref="
ConnectionOptions
" /></param>
38
public static IServiceCollection AddConnections(this IServiceCollection services, Action<
ConnectionOptions
> options)
Internal\HttpConnectionManager.cs (1)
30
public HttpConnectionManager(ILoggerFactory loggerFactory, IHostApplicationLifetime appLifetime, IOptions<
ConnectionOptions
> connectionOptions, HttpConnectionsMetrics metrics)
Microsoft.AspNetCore.Http.Connections.Tests (1)
HttpConnectionDispatcherTests.cs (1)
3772
var
connectionOptions = new ConnectionOptions();