HttpClientExtensions.PutAsync Method

Include Protected Members
Include Inherited Members

Sends a PUT request as an asynchronous operation, with a specified value serialized using the given formatter.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodStatic member PutAsync<T>(HttpClient, String, T, MediaTypeFormatter) Sends a PUT request as an asynchronous operation, with a specified value serialized using the given formatter.
Public methodStatic member PutAsync<T>(HttpClient, String, T, MediaTypeFormatter, String) Sends a PUT request as an asynchronous operation, with a specified value serialized using the given formatter and media type string.
Public methodStatic member PutAsync<T>(HttpClient, String, T, MediaTypeFormatter, CancellationToken) Sends a PUT request as an asynchronous operation, with a specified value serialized using the given formatter and medai type string. Includes a cancellation token to cancel the request.
Public methodStatic member PutAsync<T>(HttpClient, String, T, MediaTypeFormatter, MediaTypeHeaderValue, CancellationToken) Sends a PUT request as an asynchronous operation, with a specified value serialized using the given formatter and media type. Includes a cancellation token to cancel the request.
Public methodStatic member PutAsync<T>(HttpClient, String, T, MediaTypeFormatter, String, CancellationToken) Sends a PUT request as an asynchronous operation, with a specified value serialized using the given formatter and media type string. Includes a cancellation token to cancel the request.

Top

See Also

Reference

HttpClientExtensions Class

System.Net.Http Namespace