handler method

  1. @override
Future<IRequestHandler> handler()

Implementation

@override
Future<IRequestHandler> handler() async {
  var requestId = _requestCounter++;
  var resource = await _pool.request();

  return RequestHandler(this, requestId, resource);
}