Class EndpointRegistration
Endpoints a transport mapped onto a shared listener with
: framework endpoints of its own (a SignalR hub, a gRPC
service, minimal API handlers) served from a service container of its own. Holding the registration keeps the
listener alive; disposing it removes the endpoints from the running listener, and the listener stops once nothing
occupies it any more.
public sealed class EndpointRegistration : IDisposable
Inheritance
Implements
Properties
Endpoints
The endpoints, as the listener serves them.
public IReadOnlyList<Endpoint> Endpoints { get; }
Services
The container the endpoints were mapped with and that serves their requests.
public IServiceProvider Services { get; }