Westwind.Utilities.HttpClientUtils
public class HttpClientUtils : object
Class Members
Member | Description | |
---|---|---|
Constructor |
||
STR_MultipartBoundary |
||
DownloadJsonAsync |
Makes a JSON request that returns a JSON result. public static Task public static Task |
|
DownloadResponseMessageAsync |
Calls a URL and returns the raw, unretrieved HttpResponse. Also set on settings.Response and you can read the response content from settings.Response.Content.ReadAsXXX() methods. public static Task |
|
DownloadStringAsync |
Runs an Http request and returns success results as a string or null on failure or non-200/300 requests. public static Task public static Task |
|
GetHttpClient |
Creates an instance of the HttpClient and sets the API Key in the headers. public static HttpClient GetHttpClient(HttpClientHandler handler, HttpClientRequestSettings settings) |
Requirements
Namespace: Westwind.UtilitiesAssembly: westwind.utilities.dll
© West Wind Technologies, 1996-2024 • Updated: 06/29/24
Comment or report problem with topic