3 implementations of HostName
Microsoft.AspNetCore.Server.HttpSys (1)
RequestProcessing\RequestContext.FeatureCollection.cs (1)
607
string ITlsHandshakeFeature.
HostName
=> Request.SniHostName;
Microsoft.AspNetCore.Server.IIS (1)
Core\IISHttpContext.FeatureCollection.cs (1)
410
string ITlsHandshakeFeature.
HostName
=> SniHostName;
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\TlsConnectionFeature.cs (1)
45
public string
HostName
{ get; set; } = string.Empty;
2 references to HostName
IIS.Tests (1)
TlsHandshakeFeatureTests.cs (1)
56
var hostName = tlsHandshakeFeature.
HostName
;
InMemory.FunctionalTests (1)
HttpsConnectionMiddlewareTests.cs (1)
147
Assert.Equal(expectedHostname, tlsFeature.
HostName
);