closeServer method

Future<void> closeServer(
  1. Server server
)

Closes a server created by generateServer, with its connections: one that never started serving (see startServer), or one whose requests did not finish within closeTimeout (see drain). Drivers whose server can be closed should override this; the default does nothing.

Implementation

Future<void> closeServer(Server server) async {}