Simple HTTP request helper to let you retrieve data from a Web server and convert it to something useful.
Westwind.Utilities.HttpUtils
public static class HttpUtils : object
Class Members
Member | Description | |
---|---|---|
HttpRequestString |
Retrieves and Http request and returns data as a string. public static string HttpRequestString(string url) public static string HttpRequestString(HttpRequestSettings settings) |
|
HttpRequestStringAsync |
Retrieves and Http request and returns data as a string. public static Task public static Task |
|
JsonRequest |
Makes an HTTP with option JSON data serialized from an object and parses the result from JSON back into an object. Assumes that the service returns a JSON response public static TResultType JsonRequest |
|
JsonRequestAsync |
Makes an HTTP with option JSON data serialized from an object and parses the result from JSON back into an object. Assumes that the service returns a JSON response and that any data sent is json. public static Task |
Requirements
Namespace: Westwind.UtilitiesAssembly: westwind.utilities.dll
© West Wind Technologies, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic