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