abort method

void abort(
  1. Response res
)

Immediately terminates the request with the given res.

Implementation

void abort(Response res) {
  throw AbortException(res);
}