patchUrl method

  1. @override
Future<HttpClientRequest> patchUrl(
  1. Uri url
)
override

Opens a HTTP connection using the PATCH method.

The URL to use is specified in url.

See openUrl for details.

Implementation

@override
Future<HttpClientRequest> patchUrl(Uri url) async {
  Marker? marker = await _createMarker(url.toString(), 'PATCH');
  try {
    var request = await _httpClient.patchUrl(url);
    return InstanaHttpClientRequest(request, marker);
  } catch (e) {
    _reportError(marker, e.toString());
    rethrow;
  }
}