src/Utils/DiLibHttpClient/IDiLibHttpClient.cs
/// <summary>
///     Sends <see cref="T"/> type payload to the given url via PUT http verb.
/// </summary>
/// <param name="url"> The url where to payload will be sent. </param>
/// <param name="payload"> Payload object. </param>
/// <typeparam name="T"> Type of payload and result type. </typeparam>
/// <returns>
///     Returns <see cref="Task{TResult}"/> representing result of an asynchronous operation.
///     It contains a <see cref="DilibHttpClientResponse{T}"/> object where its Result property contains the
///     operation result in case of success.
///     In case of any error other properties of the result object provides further information about the error.
/// </returns>
Sends  type payload to the given url via PUT http verb.
Sends type payload to the given url via PUT http verb .
Task<DilibHttpClientResponse<T>> PutAsync<T>(
            string url,
            T payload,
            CancellationToken cancellationToken = default)
            where T : class;
Task < DilibHttpClientResponse < T > > PutAsync < T > ( string url , T payload , CancellationToken cancellationToken = default ) where T : class ;
Sends  type payload to the given url via PUT http verb.
Sends type payload to the given url via PUT http verb .
Returns  representing result of an asynchronous operation.
It contains a  object where its Result property contains the
operation result in case of success.
In case of any error other properties of the result object provides further information about the error.
Returns representing result of an asynchronous operation . It contains a object where its Result property contains the operation result in case of success . In case of any error other properties of the result object provides further information about the error .
url
string
The url where to payload will be sent.
The url where to payload will be sent .
payload
T
None
cancellationToken
CancellationToken
typeparam
Type of payload and result type.
Type of payload and result type .