head method

void head(
  1. String route,
  2. Function handler
)

Handle HEAD request to route using handler.

Implementation

void head(String route, Function handler) => add('HEAD', route, handler);