handleCall abstract method

Future<bool> handleCall(
  1. Session session,
  2. HttpRequest request
)

Handles a call to this route. This method is repsonsible for setting a correct response headers, status code, and write the response body to request.response.

Implementation

Future<bool> handleCall(Session session, HttpRequest request);