onStarted method

  1. @protected
Future<void> onStarted()

Start serving requests. Only called when ownsTransport.

Runs after the host is isRunning, so a connection accepted synchronously finds a host that is already up.

Throws UnimplementedError unless overridden.

Implementation

@protected
Future<void> onStarted() async => throw _missingHook('onStarted');