mount abstract method

void mount(
  1. Handler handler
)

Mounts handler as the base handler for this server.

All requests to url or and URLs beneath it will be sent to handler until close is called.

Throws a StateError if there's already a handler mounted.

Implementation

void mount(Handler handler);