HttpClientExtensions Class

HttpClientExtensions Class

 

Extension methods that aid in making formatted requests using HttpClient.

Namespace:   System.Net.Http
Assembly:  System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)

System.Object
  System.Net.Http.HttpClientExtensions

[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public static class HttpClientExtensions

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticPostAsJsonAsync<T>(HttpClient, String, T)

System_CAPS_pubmethodSystem_CAPS_staticPostAsJsonAsync<T>(HttpClient, String, T, CancellationToken)

System_CAPS_pubmethodSystem_CAPS_staticPostAsJsonAsync<T>(HttpClient, Uri, T)

Sends a POST request as an asynchronous operation to the specified Uri with the given value serialized as JSON.

System_CAPS_pubmethodSystem_CAPS_staticPostAsJsonAsync<T>(HttpClient, Uri, T, CancellationToken)

Sends a POST request as an asynchronous operation to the specified Uri with the given value serialized as JSON.

System_CAPS_pubmethodSystem_CAPS_staticPostAsXmlAsync<T>(HttpClient, String, T)

System_CAPS_pubmethodSystem_CAPS_staticPostAsXmlAsync<T>(HttpClient, String, T, CancellationToken)

System_CAPS_pubmethodSystem_CAPS_staticPostAsXmlAsync<T>(HttpClient, Uri, T)

Sends a POST request as an asynchronous operation to the specified Uri with the given value serialized as XML.

System_CAPS_pubmethodSystem_CAPS_staticPostAsXmlAsync<T>(HttpClient, Uri, T, CancellationToken)

Sends a POST request as an asynchronous operation to the specified Uri with the given value serialized as XML.

System_CAPS_pubmethodSystem_CAPS_staticPostAsync<T>(HttpClient, String, T, MediaTypeFormatter)

System_CAPS_pubmethodSystem_CAPS_staticPostAsync<T>(HttpClient, String, T, MediaTypeFormatter, CancellationToken)

System_CAPS_pubmethodSystem_CAPS_staticPostAsync<T>(HttpClient, String, T, MediaTypeFormatter, MediaTypeHeaderValue, CancellationToken)

System_CAPS_pubmethodSystem_CAPS_staticPostAsync<T>(HttpClient, String, T, MediaTypeFormatter, String)

System_CAPS_pubmethodSystem_CAPS_staticPostAsync<T>(HttpClient, String, T, MediaTypeFormatter, String, CancellationToken)

System_CAPS_pubmethodSystem_CAPS_staticPostAsync<T>(HttpClient, Uri, T, MediaTypeFormatter)

Sends a POST request as an asynchronous operation to the specified Uri with value serialized using the given formatter.

System_CAPS_pubmethodSystem_CAPS_staticPostAsync<T>(HttpClient, Uri, T, MediaTypeFormatter, CancellationToken)

Sends a POST request as an asynchronous operation to the specified Uri with value serialized using the given formatter.

System_CAPS_pubmethodSystem_CAPS_staticPostAsync<T>(HttpClient, Uri, T, MediaTypeFormatter, MediaTypeHeaderValue, CancellationToken)

Sends a POST request as an asynchronous operation to the specified Uri with value serialized using the given formatter.

System_CAPS_pubmethodSystem_CAPS_staticPostAsync<T>(HttpClient, Uri, T, MediaTypeFormatter, String)

Sends a POST request as an asynchronous operation to the specified Uri with value serialized using the given formatter.

System_CAPS_pubmethodSystem_CAPS_staticPostAsync<T>(HttpClient, Uri, T, MediaTypeFormatter, String, CancellationToken)

Sends a POST request as an asynchronous operation to the specified Uri with value serialized using the given formatter.

System_CAPS_pubmethodSystem_CAPS_staticPutAsJsonAsync<T>(HttpClient, String, T)

System_CAPS_pubmethodSystem_CAPS_staticPutAsJsonAsync<T>(HttpClient, String, T, CancellationToken)

System_CAPS_pubmethodSystem_CAPS_staticPutAsJsonAsync<T>(HttpClient, Uri, T)

Sends a PUT request as an asynchronous operation to the specified Uri with the given value serialized as JSON.

System_CAPS_pubmethodSystem_CAPS_staticPutAsJsonAsync<T>(HttpClient, Uri, T, CancellationToken)

Sends a PUT request as an asynchronous operation to the specified Uri with the given value serialized as JSON.

System_CAPS_pubmethodSystem_CAPS_staticPutAsXmlAsync<T>(HttpClient, String, T)

System_CAPS_pubmethodSystem_CAPS_staticPutAsXmlAsync<T>(HttpClient, String, T, CancellationToken)

System_CAPS_pubmethodSystem_CAPS_staticPutAsXmlAsync<T>(HttpClient, Uri, T)

Sends a PUT request as an asynchronous operation to the specified Uri with the given value serialized as XML.

System_CAPS_pubmethodSystem_CAPS_staticPutAsXmlAsync<T>(HttpClient, Uri, T, CancellationToken)

Sends a PUT request as an asynchronous operation to the specified Uri with the given value serialized as XML.

System_CAPS_pubmethodSystem_CAPS_staticPutAsync<T>(HttpClient, String, T, MediaTypeFormatter)

System_CAPS_pubmethodSystem_CAPS_staticPutAsync<T>(HttpClient, String, T, MediaTypeFormatter, CancellationToken)

System_CAPS_pubmethodSystem_CAPS_staticPutAsync<T>(HttpClient, String, T, MediaTypeFormatter, MediaTypeHeaderValue, CancellationToken)

System_CAPS_pubmethodSystem_CAPS_staticPutAsync<T>(HttpClient, String, T, MediaTypeFormatter, String)

System_CAPS_pubmethodSystem_CAPS_staticPutAsync<T>(HttpClient, String, T, MediaTypeFormatter, String, CancellationToken)

System_CAPS_pubmethodSystem_CAPS_staticPutAsync<T>(HttpClient, Uri, T, MediaTypeFormatter)

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

System_CAPS_pubmethodSystem_CAPS_staticPutAsync<T>(HttpClient, Uri, T, MediaTypeFormatter, CancellationToken)

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

System_CAPS_pubmethodSystem_CAPS_staticPutAsync<T>(HttpClient, Uri, T, MediaTypeFormatter, MediaTypeHeaderValue, CancellationToken)

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

System_CAPS_pubmethodSystem_CAPS_staticPutAsync<T>(HttpClient, Uri, T, MediaTypeFormatter, String)

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

System_CAPS_pubmethodSystem_CAPS_staticPutAsync<T>(HttpClient, Uri, T, MediaTypeFormatter, String, CancellationToken)

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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft