2 writes to EndpointConfig
Microsoft.AspNetCore.Server.Kestrel.Core (2)
KestrelConfigurationLoader.cs (1)
426
listenOptions.
EndpointConfig
= endpoint;
ListenOptions.cs (1)
245
EndpointConfig
= EndpointConfig
17 references to EndpointConfig
Microsoft.AspNetCore.Server.Kestrel.Core (12)
Internal\Infrastructure\TransportManager.cs (1)
82
StartAcceptLoop(new GenericMultiplexedConnectionListener(transport), c => multiplexedConnectionDelegate(c), listenOptions.
EndpointConfig
);
Internal\KestrelServerImpl.cs (5)
203
options.EndPoint = await _transportManager.BindAsync(configuredEndpoint, connectionDelegate, options.
EndpointConfig
, onBindCancellationToken).ConfigureAwait(false);
354
var urlsToStop = endpointsToStop.Select(lo => lo.
EndpointConfig
!.Url);
369
configsToStop.Add(lo.
EndpointConfig
!);
382
var urlsToStart = endpointsToStart.Select(lo => lo.
EndpointConfig
!.Url);
398
Trace.LogCritical(0, ex, "Unable to bind to '{url}' on config reload.", listenOption.
EndpointConfig
!.Url);
KestrelConfigurationLoader.cs (5)
397
if (o.
EndpointConfig
== endpoint)
399
Debug.Assert(o.
EndpointConfig
?.Certificate?.FileHasChanged != true, "Preserving an endpoint with file changes");
406
endpointsToStop.RemoveAll(o => o.
EndpointConfig
== endpoint);
459
var endpointConfig = endpointToStart.
EndpointConfig
;
483
var endpointConfig = endpointToStop.
EndpointConfig
;
ListenOptions.cs (1)
245
EndpointConfig =
EndpointConfig
Microsoft.AspNetCore.Server.Kestrel.Tests (5)
KestrelConfigurationLoaderTests.cs (5)
855
Assert.NotNull(end1?.
EndpointConfig
);
856
Assert.Null(end1.
EndpointConfig
.ClientCertificateMode);
868
Assert.NotNull(end1?.
EndpointConfig
);
869
Assert.Null(end1.
EndpointConfig
.SslProtocols);
1395
var (name, sniConfig) = Assert.Single(end1?.
EndpointConfig
?.Sni);