handle method

  1. @override
Future<HttpResponse> handle(
  1. HttpRequest request
)
override

Implementation

@override
Future<HttpResponse> handle(HttpRequest request) async {
  final client = Client();
  try {
    return await HandlerWrapper(client, messageConverter: messageConverter)
        .handle(request);
  } finally {
    client.close();
  }
}