HttpWebRequestExtensions Class
Extensions of HttpWebRequest
Namespace
Songhay.Extensions
Base Types
  • object
graph BT Type-->Base0["object"] Type["HttpWebRequestExtensions"] class Type type-node

Syntax

public static class HttpWebRequestExtensions

Methods

Name Return Value Summary
DownloadToFile(HttpWebRequest?, string, Uri?, bool) void
Downloads to file.
static
DownloadToFile(HttpWebRequest?, string) void
Downloads to file.
static
DownloadToString(HttpWebRequest?, Uri?, bool) string
Downloads to string.
static
DownloadToString(HttpWebRequest?) string
Downloads to string.
static
PostForm(HttpWebRequest?, Hashtable, Uri?, bool) string
Posts the form.
static
PostForm(HttpWebRequest?, Hashtable) string
Posts the form.
static
PostXml(HttpWebRequest?, string, Uri?, bool) string
Posts the XML.
static
PostXml(HttpWebRequest?, string) string
Posts the XML.
static
ToHttpStatusCode(HttpWebRequest?) HttpStatusCode
Converts the HttpWebRequest into a HTTP status code.
static
ToHttpWebResponse(HttpWebRequest?) HttpWebResponse?
Converts the HttpWebRequest into a HTTP web response.
static
WithProxy(HttpWebRequest?, Uri?, bool) HttpWebRequest?
Returns the HttpWebRequest with a WebProxy.
static
WithRequestBody(HttpWebRequest?, string, string, string) HttpWebRequest?
Returns HttpWebRequest with the request body.
static
WithRequestBody(HttpWebRequest?, string, string) HttpWebRequest?
Returns HttpWebRequest with the request body.
static