Click or drag to resize

HttpClientExtensions Methods

The HttpClientExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberDeleteAsync(HttpClient, String, HttpContent, ArgDictionary, HttpCompletionOption, CancellationToken, LogActivity)
Sends a DELETE request to a string URI.
Public methodStatic memberDeleteAsync(HttpClient, Uri, HttpContent, ArgDictionary, HttpCompletionOption, CancellationToken, LogActivity)
Sends a DELETE request to a Uri.
Public methodStatic memberDeleteSafeAsync(HttpClient, String, HttpContent, ArgDictionary, HttpCompletionOption, CancellationToken, LogActivity)
Sends a DELETE request to a string URI ensuring that the operation succeeded.
Public methodStatic memberDeleteSafeAsync(HttpClient, Uri, HttpContent, ArgDictionary, HttpCompletionOption, CancellationToken, LogActivity)
Sends a DELETE request to a Uri ensuring that the operation succeeded.
Public methodStatic memberGetAsync(HttpClient, String, ArgDictionary, HttpCompletionOption, CancellationToken, LogActivity)
Sends a GET request to a specified Uri.
Public methodStatic memberGetAsync(HttpClient, Uri, ArgDictionary, HttpCompletionOption, CancellationToken, LogActivity)
Sends a GET request to the specified string URI.
Public methodStatic memberGetByteArrayAsync(HttpClient, String, ArgDictionary, LogActivity)
Sends a GET to a specified string URI and returns the response body as a byte array.
Public methodStatic memberGetByteArrayAsync(HttpClient, Uri, ArgDictionary, LogActivity)
Sends a GET to a specified Uri and returns the response body as a byte array.
Public methodStatic memberGetByteArraySafeAsync(HttpClient, String, ArgDictionary, LogActivity)
Sends a GET to a specified string URI and returns the response body as a byte array ensuring that the operation succeeded.
Public methodStatic memberGetByteArraySafeAsync(HttpClient, Uri, ArgDictionary, LogActivity)
Sends a GET to a specified Uri and returns the response body as a byte array ensuring that the operation succeeded.
Public methodStatic memberGetSafeAsync(HttpClient, String, ArgDictionary, HttpCompletionOption, CancellationToken, LogActivity)
Sends a GET request to a specified Uri ensuring that the operation succeeded.
Public methodStatic memberGetSafeAsync(HttpClient, Uri, ArgDictionary, HttpCompletionOption, CancellationToken, LogActivity)
Sends a GET request to the specified string URI ensuring that the operation succeeded.
Public methodStatic memberGetStreamAsync(HttpClient, String, ArgDictionary, LogActivity)
Sends a GET to a specified string URI and returns the response body as a Stream.
Public methodStatic memberGetStreamAsync(HttpClient, Uri, ArgDictionary, LogActivity)
Sends a GET to a specified Uri and returns the response body as a Stream.
Public methodStatic memberGetStreamSafeAsync(HttpClient, String, ArgDictionary, LogActivity)
Sends a GET to a specified string URI and returns the response body as a Stream ensuring that the operation succeeded.
Public methodStatic memberGetStreamSafeAsync(HttpClient, Uri, ArgDictionary, LogActivity)
Sends a GET to a specified Uri and returns the response body as a Stream ensuring that the operation succeeded.
Public methodStatic memberGetStringAsync(HttpClient, String, ArgDictionary, LogActivity)
Sends a GET request to a string URI and returns the response as a string.
Public methodStatic memberGetStringAsync(HttpClient, Uri, ArgDictionary, LogActivity)
Sends a GET request to a Uri and returns the response as a string.
Public methodStatic memberGetStringSafeAsync(HttpClient, String, ArgDictionary, LogActivity)
Sends a GET request to a string URI and returns the response as a string ensuring that the operation succeeded.
Public methodStatic memberGetStringSafeAsync(HttpClient, Uri, ArgDictionary, LogActivity)
Sends a GET request to a Uri and returns the response as a string ensuring that the operation succeeded.
Public methodStatic memberHeadAsync(HttpClient, String, HttpContent, ArgDictionary, HttpCompletionOption, CancellationToken, LogActivity)
Sends a HEAD request to a string URI.
Public methodStatic memberHeadAsync(HttpClient, Uri, HttpContent, ArgDictionary, HttpCompletionOption, CancellationToken, LogActivity)
Sends a HEAD request to a Uri.
Public methodStatic memberHeadSafeAsync(HttpClient, String, HttpContent, ArgDictionary, HttpCompletionOption, CancellationToken, LogActivity)
Sends a HEAD request to a string URI ensuring that the operation succeeded.
Public methodStatic memberHeadSafeAsync(HttpClient, Uri, HttpContent, ArgDictionary, HttpCompletionOption, CancellationToken, LogActivity)
Sends a HEAD request to a Uri ensuring that the operation succeeded.
Public methodStatic memberOptionsAsync(HttpClient, String, HttpContent, ArgDictionary, HttpCompletionOption, CancellationToken, LogActivity)
Sends a OPTIONS request to a string URI.
Public methodStatic memberOptionsAsync(HttpClient, Uri, HttpContent, ArgDictionary, HttpCompletionOption, CancellationToken, LogActivity)
Sends a OPTIONS request to a Uri.
Public methodStatic memberOptionsSafeAsync(HttpClient, String, HttpContent, ArgDictionary, HttpCompletionOption, CancellationToken, LogActivity)
Sends a OPTIONS request to a string URI ensuring that the operation succeeded.
Public methodStatic memberOptionsSafeAsync(HttpClient, Uri, HttpContent, ArgDictionary, HttpCompletionOption, CancellationToken, LogActivity)
Sends a OPTIONS request to a Uri ensuring that the operation succeeded.
Public methodStatic memberPatchAsync(HttpClient, String, HttpContent, ArgDictionary, HttpCompletionOption, CancellationToken, LogActivity)
Sends a PATCH request to a string URI.
Public methodStatic memberPatchAsync(HttpClient, Uri, HttpContent, ArgDictionary, HttpCompletionOption, CancellationToken, LogActivity)
Sends a PATCH request to a Uri.
Public methodStatic memberPatchSafeAsync(HttpClient, String, HttpContent, ArgDictionary, HttpCompletionOption, CancellationToken, LogActivity)
Sends a PATCH request to a string URI ensuring that the operation succeeded.
Public methodStatic memberPatchSafeAsync(HttpClient, Uri, HttpContent, ArgDictionary, HttpCompletionOption, CancellationToken, LogActivity)
Sends a PATCH request to a Uri ensuring that the operation succeeded.
Public methodStatic memberPostAsync(HttpClient, String, HttpContent, ArgDictionary, HttpCompletionOption, CancellationToken, LogActivity)
Sends a POST request to a string URI.
Public methodStatic memberPostAsync(HttpClient, Uri, HttpContent, ArgDictionary, HttpCompletionOption, CancellationToken, LogActivity)
Sends a POST request to a Uri.
Public methodStatic memberPostSafeAsync(HttpClient, String, HttpContent, ArgDictionary, HttpCompletionOption, CancellationToken, LogActivity)
Sends a POST request to a string URI ensuring that the operation succeeded.
Public methodStatic memberPostSafeAsync(HttpClient, Uri, HttpContent, ArgDictionary, HttpCompletionOption, CancellationToken, LogActivity)
Sends a POST request to a Uri ensuring that the operation succeeded.
Public methodStatic memberPutAsync(HttpClient, String, HttpContent, ArgDictionary, HttpCompletionOption, CancellationToken, LogActivity)
Sends a PUT request to a string URI.
Public methodStatic memberPutAsync(HttpClient, Uri, HttpContent, ArgDictionary, HttpCompletionOption, CancellationToken, LogActivity)
Sends a PUT request to a Uri.
Public methodStatic memberPutSafeAsync(HttpClient, String, HttpContent, ArgDictionary, HttpCompletionOption, CancellationToken, LogActivity)
Sends a PUT request to a string URI ensuring that the operation succeeded.
Public methodStatic memberPutSafeAsync(HttpClient, Uri, HttpContent, ArgDictionary, HttpCompletionOption, CancellationToken, LogActivity)
Sends a PUT request to a Uri ensuring that the operation succeeded.
Public methodStatic memberSendAsync
Sends an HttpRequestMessage.
Public methodStatic memberSendSafeAsync
Sends an HttpRequestMessage ensuring that the operation succeeded.
Top
See Also