interceptWithAlice method
Intercept http request with alice. This extension method provides additional helpful method to intercept https' response.
Implementation
Future<Response> interceptWithAlice(Alice alice, {dynamic body}) async {
Response response = await this;
alice.onHttpResponse(response, body: body);
return response;
}