HttpUtils Class
Simple HTTP request helper to let you retrieve data from a Web server and convert it to something useful.
Westwind.Utilities.HttpUtils
Class Members
| Member | Description | |
|---|---|---|
| CreateWebProxy | Helper method that creates a proxy instance to store on the Proxy property
public static IWebProxy CreateWebProxy(string proxyAddress, bool bypassonLocal,
String[] bypassList)
|
|
| DownloadImageToFile | Creates a temporary image file from a download from a URL If you don't pass a file a temporary file is created in Temp Files folder. You're responsible for cleaning up the file after you are done…
public static string DownloadImageToFile(string imageUrl, string filename,
HttpRequestSettings settings)
|
|
| DownloadImageToFileAsync | Creates a temporary image file from a download from a URL If you don't pass a file a temporary file is created in Temp Files folder. You're responsible for cleaning up the file after you are done…
public static Task
|
|
| HttpRequestBytes | Retrieves bytes from the server
public static byte[] HttpRequestBytes(string url)
|
|
| HttpRequestBytesAsync | Retrieves bytes from the server
public static Task
|
|
| HttpRequestString | Retrieves and Http request and returns data as a string.
public static string HttpRequestString(string url)
|
|
| HttpRequestStringAsync | Retrieves and Http request and returns data as a string.
public static Task
|
|
| JsonRequest |
public static TResultType JsonRequest
|
|
| JsonRequestAsync |
public static Task
|
|
Assembly: Westwind.Utilities.dll
