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