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