Пример #1
0
 /// <summary>
 ///     Basic DELETE method: sends data and returns status and body
 /// </summary>
 /// <param name="partialUri">Uri part after server address/fqdn and port</param>
 /// <param name="parameters">Request parameters after `?`</param>
 /// <param name="headers">Request headers</param>
 /// <param name="data">Raw request body</param>
 /// <param name="authentificationProvider">Authentification provider</param>
 /// <param name="cancellationToken">Task cancellation token</param>
 /// <returns>Request status and raw response body</returns>
 public static Task <RequestResult <string> > DeleteRawAsync(
     string partialUri,
     IDictionary <string, string> parameters = null,
     IDictionary <string, string> headers    = null,
     string data = null,
     Delegates.AuthentificationDataAdder authentificationProvider = null,
     CancellationToken cancellationToken = default(CancellationToken))
 => RegularClient.DeleteRawAsync(partialUri,
                                 parameters,
                                 headers,
                                 data,
                                 authentificationProvider,
                                 cancellationToken);