1 instantiation of SocketTransportOptions
Sockets.BindTests (1)
SocketTransportFactoryTests.cs (1)
20var socketTransportFactory = new SocketTransportFactory(Options.Create(new SocketTransportOptions()), new LoggerFactory());
17 references to SocketTransportOptions
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (8)
Client\SocketConnectionFactory.cs (2)
17private readonly SocketTransportOptions _options; 24public SocketConnectionFactory(IOptions<SocketTransportOptions> options, ILoggerFactory loggerFactory)
SocketConnectionFactoryOptions.cs (1)
18internal SocketConnectionFactoryOptions(SocketTransportOptions transportOptions)
SocketConnectionListener.cs (2)
18private readonly SocketTransportOptions _options; 24SocketTransportOptions options,
SocketTransportFactory.cs (2)
17private readonly SocketTransportOptions _options; 26IOptions<SocketTransportOptions> options,
WebHostBuilderSocketExtensions.cs (1)
44public static IWebHostBuilder UseSockets(this IWebHostBuilder hostBuilder, Action<SocketTransportOptions> configureOptions)
Sockets.BindTests (5)
SocketTransportOptionsTests.cs (5)
31return SocketTransportOptions.CreateDefaultBoundListenSocket(endpoint); 43Assert.True(wasCalled, $"Expected {nameof(SocketTransportOptions.CreateBoundListenSocket)} to be called."); 67using var listenSocket = SocketTransportOptions.CreateDefaultBoundListenSocket(endpoint); 77using var listenSocket = SocketTransportOptions.CreateDefaultBoundListenSocket(endpoint); 111private IHost CreateWebHost(EndPoint endpoint, Action<SocketTransportOptions> configureSocketOptions) =>
Sockets.FunctionalTests (4)
src\Servers\Kestrel\test\FunctionalTests\RequestTests.cs (1)
1012services.Configure<SocketTransportOptions>(options =>
src\Servers\Kestrel\test\FunctionalTests\ResponseTests.cs (3)
560services.Configure<SocketTransportOptions>(o => 688services.Configure<SocketTransportOptions>(o => 804services.Configure<SocketTransportOptions>(o =>