getUrl method
Opens a HTTP connection using the GET method.
The URL to use is specified in url
.
See openUrl for details.
Implementation
@override
Future<HttpClientRequest> getUrl(Uri url) {
return client.getUrl(url).then((HttpClientRequest request) async {
logger.onRequest(request);
final HttpClientResponse response = await request.close();
logger.onResponse(request, response);
return request;
});
}