handle method

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

Implementation

@override
Future<HttpResponse> handle(HttpRequest request) async {
  final convertedRequest = messageConverter.request(request);
  final streamedResponse = await client.send(convertedRequest);
  final response = await Response.fromStream(streamedResponse);
  return messageConverter.response(response);
}