TcpListener.onConnection
void onConnection(ConnectionCallback callback) @property @trustedSet the high-level connection callback.
Parameters
callback | Callback invoked when a new connection is established and wrapped. Callback contract: the TcpConnection is EVE-owned (internally created and adopted). Fires on the event loop thread. Does not fire after dispose(). |