handle method

  1. @override
Future<DoxResponse> handle(
  1. DoxRequest req,
  2. Next next
)
override

Implementation

@override
Future<DoxResponse> handle(DoxRequest req, Next next) async {
  SessionConfig config = this.config;
  Session session = await _start(req, config);
  req.session = session;
  _requests[req.httpRequest] = req;
  DoxResponse res = await next();
  await _save(session, res, config);
  return res;
}