close method

  1. @override
Future<void> close()
override

Closes the server and returns a Future that completes when all resources are released.

Once this is called, no more requests will be passed to this server's handler. Otherwise, the cleanup behavior is implementation-dependent.

Implementation

@override
Future<void> close() => server.close();