8 instantiations of HttpSysOptions
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (6)
Listener\ServerTests.cs (1)
134
var options = new
HttpSysOptions
();
Listener\Utilities.cs (3)
48
var options = new
HttpSysOptions
();
80
var listener = new HttpSysListener(new
HttpSysOptions
(), new DefaultMemoryPoolFactory(), new LoggerFactory());
88
var options = new
HttpSysOptions
();
Utilities.cs (2)
116
=> new MessagePump(Options.Create(new
HttpSysOptions
()), new DefaultMemoryPoolFactory(), loggerFactory ?? new LoggerFactory(), new AuthenticationSchemeProvider(Options.Create(new AuthenticationOptions())));
120
var options = new
HttpSysOptions
();
Microsoft.AspNetCore.Server.HttpSys.NonHelixTests (2)
Utilities.cs (2)
35
=> new MessagePump(Options.Create(new
HttpSysOptions
()), new DefaultMemoryPoolFactory(), loggerFactory ?? new LoggerFactory(), new AuthenticationSchemeProvider(Options.Create(new AuthenticationOptions())));
39
var options = new
HttpSysOptions
();
32 references to HttpSysOptions
HotAddSample (2)
Startup.cs (2)
23
services.Configure<
HttpSysOptions
>(options =>
29
public
HttpSysOptions
ServerOptions { get; set; }
Microsoft.AspNetCore.Server.HttpSys (10)
HttpSysListener.cs (2)
48
public HttpSysListener(
HttpSysOptions
options, IMemoryPoolFactory<byte> memoryPoolFactory, ILoggerFactory loggerFactory)
106
public
HttpSysOptions
Options { get; }
HttpSysOptions.cs (1)
34
/// Initializes a new <see cref="
HttpSysOptions
"/>.
MessagePump.cs (2)
20
private readonly
HttpSysOptions
_options;
31
public MessagePump(IOptions<
HttpSysOptions
> options, IMemoryPoolFactory<byte> memoryPoolFactory,
MessagePump.Log.cs (2)
32
$"Overriding address(es) '{{ServerAddresses}}'. Binding to endpoints added to {nameof(
HttpSysOptions
.UrlPrefixes)} instead.",
46
$"Overriding endpoints added to {nameof(
HttpSysOptions
.UrlPrefixes)} since {nameof(IServerAddressesFeature.PreferHostingUrls)} is set to true. Binding to address(es) '{{ServerAddresses}}' instead.",
WebHostBuilderHttpSysExtensions.cs (3)
42
var
options = services.GetRequiredService<IOptions<
HttpSysOptions
>>().Value;
68
public static IWebHostBuilder UseHttpSys(this IWebHostBuilder hostBuilder, Action<
HttpSysOptions
> options)
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (16)
Listener\AuthenticationOnExistingQueueTests.cs (4)
15
protected override string ConfigureServer(
HttpSysOptions
options, string baseServerAddress)
24
protected override string ConfigureServer(
HttpSysOptions
options, string baseServerAddress)
33
protected override string ConfigureServer(
HttpSysOptions
options, string baseServerAddress)
193
protected abstract string ConfigureServer(
HttpSysOptions
options, string baseServerAddress);
Listener\ServerTests.cs (1)
134
var
options = new HttpSysOptions();
Listener\Utilities.cs (3)
48
var
options = new HttpSysOptions();
86
internal static HttpSysListener CreateServer(Action<
HttpSysOptions
> configureOptions)
88
var
options = new HttpSysOptions();
Utilities.cs (8)
50
internal static IServer CreateHttpServer(out string baseAddress, RequestDelegate app, Action<
HttpSysOptions
> configureOptions, ILoggerFactory loggerFactory)
81
internal static IHost CreateDynamicHost(out string baseAddress, Action<
HttpSysOptions
> configureOptions, RequestDelegate app, ILoggerFactory loggerFactory)
86
internal static IHost CreateDynamicHost(string basePath, out string root, out string baseAddress, Action<
HttpSysOptions
> configureOptions, RequestDelegate app, ILoggerFactory loggerFactory)
107
var options = host.Services.GetRequiredService<IOptions<
HttpSysOptions
>>();
118
internal static MessagePump CreatePump(Action<
HttpSysOptions
> configureOptions, ILoggerFactory loggerFactory)
120
var
options = new HttpSysOptions();
125
internal static IServer CreateDynamicHttpServer(string basePath, out string root, out string baseAddress, Action<
HttpSysOptions
> configureOptions, RequestDelegate app, ILoggerFactory loggerFactory)
145
internal static IServer CreateDynamicHttpsServer(string basePath, out string root, out string baseAddress, Action<
HttpSysOptions
> configureOptions, RequestDelegate app, ILoggerFactory loggerFactory = null)
Microsoft.AspNetCore.Server.HttpSys.NonHelixTests (3)
Utilities.cs (3)
37
internal static MessagePump CreatePump(Action<
HttpSysOptions
> configureOptions, ILoggerFactory loggerFactory = null)
39
var
options = new HttpSysOptions();
44
internal static IServer CreateDynamicHttpServer(string basePath, out string root, out string baseAddress, Action<
HttpSysOptions
> configureOptions, RequestDelegate app)
SelfHostServer (1)
Startup.cs (1)
19
services.Configure<
HttpSysOptions
>(options =>