Example #1
0
        /// <inheritdoc/>
        public async Task <HttpResponse> DeleteAsync(HttpRequest request, RequestContext requestContext, CancellationToken cancellationToken)
        {
            PrepareRequest(request, requestContext);

            var response = await _requestExecutor.DeleteAsync(request.Uri, request.Headers, cancellationToken).ConfigureAwait(false);

            EnsureResponseSuccess(response);

            return(response);
        }