headUrl method
Opens a HTTP connection using the HEAD method.
The URL to use is specified in url
.
See openUrl for details.
Implementation
@override
Future<HttpClientRequest> headUrl(Uri url) async {
Marker? marker = await _createMarker(url.toString(), 'HEAD');
try {
var request = await _httpClient.headUrl(url);
return InstanaHttpClientRequest(request, marker);
} catch (e) {
_reportError(marker, e.toString());
rethrow;
}
}