메소드 | 설명 | |
---|---|---|
DoGetFile ( string url ) : byte[] |
Gets the content from the Url as a byte stream.
|
|
DoGetFile ( string url, string filename ) : void |
Gets the content from the Url and saves it as the specified file.
|
|
DoGetUrl ( string url ) : string |
Gets the content from the Url.
|
|
DoGetUrl ( string url, string>.Dictionary |
Gets the content from the Url. Creates the query string from the dictionary provided.
|
|
DoGetUrl ( string url, HttpStatusCode &statusCode ) : string |
Gets the content from the Url.
|
|
DoGetUrl ( string url, HttpStatusCode &statusCode, string &statusDescription ) : string |
Gets the content from the Url.
|
|
DoGetUrlHeadOnly ( string url ) : |
Performs a HEAD request.
|
|
DoGetUrlHeadOnly ( string url, HttpStatusCode &statusCode ) : |
Performs a HEAD request.
|
|
DoGetUrlHeadOnly ( string url, HttpStatusCode &statusCode, string &statusDescription ) : |
Performs a HEAD request.
|
|
DoGetUrlHtml ( string url ) : HtmlAgilityPack.HtmlDocument |
Gets the content from the Url as an Html Agility Pack document.
|
|
DoGetUrlXml ( string url ) : |
Gets the content from the Url as xml.
|
|
DoPost ( string url, string data ) : string |
Posts the data to the url provided.
|
|
DoPostForm ( string url, string>.Dictionary |
Posts a form to the Url.
|
|
EncodeJson ( string json ) : string |
Url encodes json.
|
|
WebRequestClient ( ) : System |
Initializes a new instance of the WebRequestClient class.
|
|
WebRequestClient ( |
Initializes a new instance of the WebRequestClient class.
|
메소드 | 설명 | |
---|---|---|
WriteFormData ( string>.Dictionary |
Given a dictionary, creates Form data to be used in a Post.
|
public DoGetFile ( string url, string filename ) : void | ||
url | string | The url. |
filename | string | The filename, absolute or relative. |
리턴 | void |
public DoGetUrl ( string url, string>.Dictionary |
||
url | string | The url. |
valuesDictionary | string>.Dictionary | The values dictionary { form key, value }. |
리턴 | string |
public DoGetUrl ( string url, HttpStatusCode &statusCode ) : string | ||
url | string | The url. |
statusCode | HttpStatusCode | The status code returned. |
리턴 | string |
public DoGetUrl ( string url, HttpStatusCode &statusCode, string &statusDescription ) : string | ||
url | string | The url. |
statusCode | HttpStatusCode | The status code returned. |
statusDescription | string | The status description. |
리턴 | string |
public DoGetUrlHeadOnly ( string url ) : |
||
url | string | /// The url. /// |
리턴 |
public DoGetUrlHeadOnly ( string url, HttpStatusCode &statusCode ) : |
||
url | string | /// The url. /// |
statusCode | HttpStatusCode | /// The status code returned. /// |
리턴 |
public DoGetUrlHeadOnly ( string url, HttpStatusCode &statusCode, string &statusDescription ) : |
||
url | string | /// The url. /// |
statusCode | HttpStatusCode | /// The status code returned. /// |
statusDescription | string | /// The status description. /// |
리턴 |
public DoGetUrlHtml ( string url ) : HtmlAgilityPack.HtmlDocument | ||
url | string | The url. |
리턴 | HtmlAgilityPack.HtmlDocument |
public DoGetUrlXml ( string url ) : |
||
url | string | The url. |
리턴 |
public DoPost ( string url, string data ) : string | ||
url | string | The url. |
data | string | The data. |
리턴 | string |
public DoPostForm ( string url, string>.Dictionary |
||
url | string | The url. |
valuesDictionary | string>.Dictionary | The values dictionary { form key, value }. |
리턴 | string |
public WebRequestClient ( |
||
cookies | The cookies. | |
리턴 | System |