Interface IServerListener
A bound transport listener accepting connections on a single endpoint.
Mirrors the Java ServerListener implemented by QuicheListener.
public interface IServerListener : IAsyncDisposable
- Inherited Members
Properties
LocalEndPoint
The local endpoint the listener is bound to.
EndPoint LocalEndPoint { get; }
Property Value
Methods
CloseAsync(IToClientPacket?)
Stop accepting and close all connections after offering the packet to each current client. The first close request owns the packet and every caller observes the same completion.
Task CloseAsync(IToClientPacket? farewell = null)
Parameters
farewellIToClientPacket