6 writes to EndPoint
Microsoft.AspNetCore.Server.Kestrel.Core (6)
AnyIPListenOptions.cs (1)
41EndPoint = new IPEndPoint(IPAddress.Any, IPEndPoint.Port);
Internal\KestrelServerImpl.cs (2)
199options.EndPoint = await _transportManager.BindAsync(configuredEndpoint, connectionDelegate, options.EndpointConfig, onBindCancellationToken).ConfigureAwait(false); 218options.EndPoint = await _transportManager.BindAsync(configuredEndpoint, multiplexedConnectionDelegate, options, onBindCancellationToken).ConfigureAwait(false);
ListenOptions.cs (3)
27EndPoint = endPoint; 32EndPoint = new UnixDomainSocketEndPoint(socketPath); 42EndPoint = new FileHandleEndPoint(fileHandle, handleType);
22 references to EndPoint
Microsoft.AspNetCore.Server.Kestrel.Core (11)
Internal\KestrelServerImpl.cs (4)
153Trace.Http2DisabledWithHttp1AndNoTls(options.EndPoint); 157Trace.Http3DisabledWithHttp1AndNoTls(options.EndPoint); 181var configuredEndpoint = options.EndPoint; 206if (!configuredEndpoint.Equals(options.EndPoint))
ListenOptions.cs (7)
60public IPEndPoint? IPEndPoint => EndPoint as IPEndPoint; 68public string? SocketPath => (EndPoint as UnixDomainSocketEndPoint)?.ToString(); 76public string? PipeName => (EndPoint as NamedPipeEndPoint)?.PipeName.ToString(); 84public ulong FileHandle => (EndPoint as FileHandleEndPoint)?.FileHandle ?? 0; 151switch (EndPoint) 154return $"{Scheme}://unix:{EndPoint}"; 160return $"{Scheme}://{EndPoint}";
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (11)
AddressBinderTests.cs (9)
58Assert.IsType<IPEndPoint>(listenOptions.EndPoint); 69Assert.IsType<IPEndPoint>(listenOptions.EndPoint); 81Assert.IsType<IPEndPoint>(listenOptions.EndPoint); 91Assert.IsType<NamedPipeEndPoint>(listenOptions.EndPoint); 102Assert.IsType<NamedPipeEndPoint>(listenOptions.EndPoint); 113Assert.IsType<NamedPipeEndPoint>(listenOptions.EndPoint); 124Assert.IsType<UnixDomainSocketEndPoint>(listenOptions.EndPoint); 135Assert.IsType<UnixDomainSocketEndPoint>(listenOptions.EndPoint); 149Assert.IsType<IPEndPoint>(listenOptions.EndPoint);
ListenOptionsTests.cs (2)
72Assert.IsType<UriEndPoint>(listenOptions.EndPoint); 73Assert.Equal("http://127.0.0.1:5555/", ((UriEndPoint)listenOptions.EndPoint).Uri.ToString());