src/Utils/DiLibHttpClient/IDiLibHttpClient.cs
/// <summary>
///     It sends the payload to url using DELETE http verb.
/// </summary>
/// <param name="url"> The url which will be hit by DELETE http verb. </param>
/// <param name="payload">
///     <see cref="T"/> type object which represents or contains data about the object to be deleted.
/// </param>
/// <param name="cancellationToken"> <see cref="CancellationToken"/>. </param>
/// <typeparam name="T"> Type of payload. </typeparam>
/// <returns>
///     Returns <see cref="Task{TResult}"/> representing result of an asynchronous operation.
/// </returns>
It sends the payload to url using DELETE http verb.
It sends the payload to url using DELETE http verb .
Task<DilibHttpClientResponse<T>> DeleteAsync<T>(
            string url,
            T payload,
            CancellationToken cancellationToken = default)
            where T : class;
Task < DilibHttpClientResponse < T > > DeleteAsync < T > ( string url , T payload , CancellationToken cancellationToken = default ) where T : class ;
It sends the payload to url using DELETE http verb.
It sends the payload to url using DELETE http verb .
Returns  representing result of an asynchronous operation.
Returns representing result of an asynchronous operation .
url
string
The url which will be hit by DELETE http verb.
The url which will be hit by DELETE http verb .
payload
T
type object which represents or contains data about the object to be deleted.
type object which represents or contains data about the object to be deleted .
cancellationToken
CancellationToken
None
typeparam
Type of payload.
Type of payload .