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