delete method
Opens a HTTP connection using the DELETE method.
The server is specified using host
and port
, and the path
(including a possible query) is specified using path
.
See open for details.
Implementation
@override
Future<HttpClientRequest> delete(String host, int port, String path) async {
var url = Uri.parse('http://$host:$port$path');
Marker? marker = await _createMarker(url.toString(), 'DELETE');
try {
var request = await _httpClient.delete(host, port, path);
return InstanaHttpClientRequest(request, marker);
} catch (e) {
_reportError(marker, e.toString());
rethrow;
}
}