Click or drag to resize

HttpClientExtensions Class

HttpClient extension methods, mostly related to supporting LogActivity related headers.
Inheritance Hierarchy
SystemObject
  System.Net.HttpHttpClientExtensions

Namespace:  System.Net.Http
Assembly:  Neon.Common (in Neon.Common.dll) Version: 2.1.0
Syntax
public static class HttpClientExtensions

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 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 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 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 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 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 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 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 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 memberSendAsync
Sends an HttpRequestMessage.
Top
See Also