8 instantiations of HttpSysOptions
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (6)
Listener\ServerTests.cs (1)
133
var options = new
HttpSysOptions
();
Listener\Utilities.cs (3)
47
var options = new
HttpSysOptions
();
79
var listener = new HttpSysListener(new
HttpSysOptions
(), new LoggerFactory());
87
var options = new
HttpSysOptions
();
Utilities.cs (2)
115
=> new MessagePump(Options.Create(new
HttpSysOptions
()), loggerFactory ?? new LoggerFactory(), new AuthenticationSchemeProvider(Options.Create(new AuthenticationOptions())));
119
var options = new
HttpSysOptions
();
Microsoft.AspNetCore.Server.HttpSys.NonHelixTests (2)
Utilities.cs (2)
34
=> new MessagePump(Options.Create(new
HttpSysOptions
()), loggerFactory ?? new LoggerFactory(), new AuthenticationSchemeProvider(Options.Create(new AuthenticationOptions())));
38
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)
46
public HttpSysListener(
HttpSysOptions
options, ILoggerFactory loggerFactory)
115
public
HttpSysOptions
Options { get; }
HttpSysOptions.cs (1)
33
/// Initializes a new <see cref="
HttpSysOptions
"/>.
MessagePump.cs (2)
19
private readonly
HttpSysOptions
_options;
30
public MessagePump(IOptions<
HttpSysOptions
> options, ILoggerFactory loggerFactory, IAuthenticationSchemeProvider authentication)
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)
40
var
options = services.GetRequiredService<IOptions<
HttpSysOptions
>>().Value;
64
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)
133
var
options = new HttpSysOptions();
Listener\Utilities.cs (3)
47
var
options = new HttpSysOptions();
85
internal static HttpSysListener CreateServer(Action<
HttpSysOptions
> configureOptions)
87
var
options = new HttpSysOptions();
Utilities.cs (8)
49
internal static IServer CreateHttpServer(out string baseAddress, RequestDelegate app, Action<
HttpSysOptions
> configureOptions, ILoggerFactory loggerFactory)
80
internal static IHost CreateDynamicHost(out string baseAddress, Action<
HttpSysOptions
> configureOptions, RequestDelegate app, ILoggerFactory loggerFactory)
85
internal static IHost CreateDynamicHost(string basePath, out string root, out string baseAddress, Action<
HttpSysOptions
> configureOptions, RequestDelegate app, ILoggerFactory loggerFactory)
106
var options = host.Services.GetRequiredService<IOptions<
HttpSysOptions
>>();
117
internal static MessagePump CreatePump(Action<
HttpSysOptions
> configureOptions, ILoggerFactory loggerFactory)
119
var
options = new HttpSysOptions();
124
internal static IServer CreateDynamicHttpServer(string basePath, out string root, out string baseAddress, Action<
HttpSysOptions
> configureOptions, RequestDelegate app, ILoggerFactory loggerFactory)
144
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)
36
internal static MessagePump CreatePump(Action<
HttpSysOptions
> configureOptions, ILoggerFactory loggerFactory = null)
38
var
options = new HttpSysOptions();
43
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 =>