프로퍼티 | 타입 | 설명 | |
---|---|---|---|
PostResponse | PostResponseHandler | ||
PreHandleDocument | PreHandleDocumentHandler | ||
PreRequest | PreRequestHandler |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
FilePreparePath | void | ||
Get | HttpStatusCode | ||
GetCacheHeader | string | ||
GetCacheHeadersPath | string | ||
IsCacheHtmlContent | bool | ||
IsHtmlContent | bool | ||
LoadUrl | HtmlAgilityPack.HtmlDocument | ||
RemoveMilliseconds | System.DateTime | ||
SaveCacheHeaders | void | ||
SaveStream | long |
메소드 | 설명 | |
---|---|---|
CreateInstance ( string url, |
Creates an instance of the given type from the specified Internet resource.
|
|
Get ( string url, string path ) : void |
Gets an HTML document from an Internet resource and saves it to the specified file.
|
|
Get ( string url, string path, |
Gets an HTML document from an Internet resource and saves it to the specified file. - Proxy aware
|
|
Get ( string url, string path, |
Gets an HTML document from an Internet resource and saves it to the specified file. Understands Proxies
|
|
Get ( string url, string path, string method ) : void |
Gets an HTML document from an Internet resource and saves it to the specified file.
|
|
GetCachePath ( |
Gets the cache file path for a specified url.
|
|
GetContentTypeForExtension ( string extension, string def ) : string |
Gets the MIME content type for a given path extension.
|
|
GetExtensionForContentType ( string contentType, string def ) : string |
Gets the path extension for a given MIME content type.
|
|
Load ( string url ) : HtmlAgilityPack.HtmlDocument |
Gets an HTML document from an Internet resource.
|
|
Load ( string url, string method ) : HtmlAgilityPack.HtmlDocument |
Loads an HTML document from an Internet resource.
|
|
Load ( string url, string method, |
Loads an HTML document from an Internet resource.
|
|
Load ( string url, string proxyHost, int proxyPort, string userId, string password ) : HtmlAgilityPack.HtmlDocument |
Gets an HTML document from an Internet resource.
|
|
LoadHtmlAsXml ( string htmlUrl, |
Loads an HTML document from an Internet resource and saves it to the specified XmlTextWriter.
|
메소드 | 설명 | |
---|---|---|
FilePreparePath ( string target ) : void | ||
Get ( |
||
GetCacheHeader ( |
||
GetCacheHeadersPath ( |
||
IsCacheHtmlContent ( string path ) : bool | ||
IsHtmlContent ( string contentType ) : bool | ||
LoadUrl ( |
||
RemoveMilliseconds ( System.DateTime t ) : System.DateTime | ||
SaveCacheHeaders ( |
||
SaveStream ( Stream stream, string path, System.DateTime touchDate, int streamBufferSize ) : long |
public CreateInstance ( string url, |
||
url | string | The requested URL, such as "http://Myserver/Mypath/Myfile.asp". |
type | The requested type. | |
리턴 | object |
public Get ( string url, string path ) : void | ||
url | string | The requested URL, such as "http://Myserver/Mypath/Myfile.asp". |
path | string | The location of the file where you want to save the document. |
리턴 | void |
public Get ( string url, string path, |
||
url | string | The requested URL, such as "http://Myserver/Mypath/Myfile.asp". |
path | string | The location of the file where you want to save the document. |
proxy | ||
credentials | ||
리턴 | void |
public Get ( string url, string path, |
||
url | string | The requested URL, such as "http://Myserver/Mypath/Myfile.asp". |
path | string | The location of the file where you want to save the document. |
proxy | ||
credentials | ||
method | string | The HTTP method used to open the connection, such as GET, POST, PUT, or PROPFIND. |
리턴 | void |
public Get ( string url, string path, string method ) : void | ||
url | string | The requested URL, such as "http://Myserver/Mypath/Myfile.asp". |
path | string | The location of the file where you want to save the document. |
method | string | The HTTP method used to open the connection, such as GET, POST, PUT, or PROPFIND. |
리턴 | void |
public GetCachePath ( |
||
uri | The url fo which to retrieve the cache path. May not be null. | |
리턴 | string |
public static GetContentTypeForExtension ( string extension, string def ) : string | ||
extension | string | The input path extension. |
def | string | The default content type to return if any error occurs. |
리턴 | string |
public static GetExtensionForContentType ( string contentType, string def ) : string | ||
contentType | string | The input MIME content type. |
def | string | The default path extension to return if any error occurs. |
리턴 | string |
public Load ( string url ) : HtmlAgilityPack.HtmlDocument | ||
url | string | The requested URL, such as "http://Myserver/Mypath/Myfile.asp". |
리턴 | HtmlAgilityPack.HtmlDocument |
public Load ( string url, string method ) : HtmlAgilityPack.HtmlDocument | ||
url | string | The requested URL, such as "http://Myserver/Mypath/Myfile.asp". |
method | string | The HTTP method used to open the connection, such as GET, POST, PUT, or PROPFIND. |
리턴 | HtmlAgilityPack.HtmlDocument |
public Load ( string url, string method, |
||
url | string | The requested URL, such as "http://Myserver/Mypath/Myfile.asp". |
method | string | The HTTP method used to open the connection, such as GET, POST, PUT, or PROPFIND. |
proxy | Proxy to use with this request | |
credentials | Credentials to use when authenticating | |
리턴 | HtmlAgilityPack.HtmlDocument |
public Load ( string url, string proxyHost, int proxyPort, string userId, string password ) : HtmlAgilityPack.HtmlDocument | ||
url | string | The requested URL, such as "http://Myserver/Mypath/Myfile.asp". |
proxyHost | string | Host to use for Proxy |
proxyPort | int | Port the Proxy is on |
userId | string | User Id for Authentication |
password | string | Password for Authentication |
리턴 | HtmlAgilityPack.HtmlDocument |
public LoadHtmlAsXml ( string htmlUrl, |
||
htmlUrl | string | The requested URL, such as "http://Myserver/Mypath/Myfile.asp". |
writer | The XmlTextWriter to which you want to save to. | |
리턴 | void |
public PreHandleDocumentHandler PreHandleDocument | ||
리턴 | PreHandleDocumentHandler |