TcpListener.onConnection

void onConnection(ConnectionCallback callback) @property @trusted

Set the high-level connection callback.

Parameters

callbackCallback invoked when a new connection is established and wrapped.