8 instantiations of HttpSysOptions
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (6)
Listener\ServerTests.cs (1)
133var options = new HttpSysOptions();
Listener\Utilities.cs (3)
47var options = new HttpSysOptions(); 79var listener = new HttpSysListener(new HttpSysOptions(), new LoggerFactory()); 87var options = new HttpSysOptions();
Utilities.cs (2)
115=> new MessagePump(Options.Create(new HttpSysOptions()), loggerFactory ?? new LoggerFactory(), new AuthenticationSchemeProvider(Options.Create(new AuthenticationOptions()))); 119var 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()))); 38var options = new HttpSysOptions();
32 references to HttpSysOptions
HotAddSample (2)
Startup.cs (2)
23services.Configure<HttpSysOptions>(options => 29public HttpSysOptions ServerOptions { get; set; }
Microsoft.AspNetCore.Server.HttpSys (10)
HttpSysListener.cs (2)
46public HttpSysListener(HttpSysOptions options, ILoggerFactory loggerFactory) 115public HttpSysOptions Options { get; }
HttpSysOptions.cs (1)
33/// Initializes a new <see cref="HttpSysOptions"/>.
MessagePump.cs (2)
19private readonly HttpSysOptions _options; 30public 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)
40var options = services.GetRequiredService<IOptions<HttpSysOptions>>().Value; 64public static IWebHostBuilder UseHttpSys(this IWebHostBuilder hostBuilder, Action<HttpSysOptions> options)
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (16)
Listener\AuthenticationOnExistingQueueTests.cs (4)
15protected override string ConfigureServer(HttpSysOptions options, string baseServerAddress) 24protected override string ConfigureServer(HttpSysOptions options, string baseServerAddress) 33protected override string ConfigureServer(HttpSysOptions options, string baseServerAddress) 193protected abstract string ConfigureServer(HttpSysOptions options, string baseServerAddress);
Listener\ServerTests.cs (1)
133var options = new HttpSysOptions();
Listener\Utilities.cs (3)
47var options = new HttpSysOptions(); 85internal static HttpSysListener CreateServer(Action<HttpSysOptions> configureOptions) 87var options = new HttpSysOptions();
Utilities.cs (8)
49internal static IServer CreateHttpServer(out string baseAddress, RequestDelegate app, Action<HttpSysOptions> configureOptions, ILoggerFactory loggerFactory) 80internal static IHost CreateDynamicHost(out string baseAddress, Action<HttpSysOptions> configureOptions, RequestDelegate app, ILoggerFactory loggerFactory) 85internal static IHost CreateDynamicHost(string basePath, out string root, out string baseAddress, Action<HttpSysOptions> configureOptions, RequestDelegate app, ILoggerFactory loggerFactory) 106var options = host.Services.GetRequiredService<IOptions<HttpSysOptions>>(); 117internal static MessagePump CreatePump(Action<HttpSysOptions> configureOptions, ILoggerFactory loggerFactory) 119var options = new HttpSysOptions(); 124internal static IServer CreateDynamicHttpServer(string basePath, out string root, out string baseAddress, Action<HttpSysOptions> configureOptions, RequestDelegate app, ILoggerFactory loggerFactory) 144internal 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)
36internal static MessagePump CreatePump(Action<HttpSysOptions> configureOptions, ILoggerFactory loggerFactory = null) 38var options = new HttpSysOptions(); 43internal static IServer CreateDynamicHttpServer(string basePath, out string root, out string baseAddress, Action<HttpSysOptions> configureOptions, RequestDelegate app)
SelfHostServer (1)
Startup.cs (1)
19services.Configure<HttpSysOptions>(options =>