Method | Description | |
---|---|---|
DownloadBytes ( string url, |
Downloads url using GET.
|
|
DownloadBytes ( string url, |
Downloads url using POST.
|
|
GetAllProxies ( ) : List |
Return all proxies
|
|
GetAvalibleProxy ( ) : Proxy |
Returns first free (but busy) and working proxy.
|
|
GetPage ( string url, string requiredString = null, |
Downloads url using GET.
|
|
PostPage ( string url, |
Downloads url using POST.
|
|
ProxyManager ( IEnumerable |
||
ProxyManager ( IEnumerable |
||
ProxyManager ( string file ) : System | ||
ProxyManager ( string file, bool anonymousOnly ) : System | ||
ProxyManager ( string file, bool anonymousOnly, BetterHttpClient.CheckService.ProxyJudgeService service ) : System | ||
SetAllProxyAsOnline ( ) : void |
Sets all proxies IsOnline property to true.
|
Method | Description | |
---|---|---|
CloneProxyList ( List |
||
CreateHttpClient ( |
||
DownloadBytes ( string url, |
||
ParseProxies ( IEnumerable |
public DownloadBytes ( string url, |
||
url | string | |
cookies | ||
customHeaders | Specify custom headers for this request | |
return | byte[] |
public DownloadBytes ( string url, |
||
url | string | Url of webpage |
data | Post values | |
cookies | Cookies for request. Left null if you don't want to use cookies | |
customHeaders | Specify custom headers for this request | |
return | byte[] |
public GetPage ( string url, string requiredString = null, |
||
url | string | Url of webpage |
requiredString | string | |
cookies | Cookies for request. Left null if you don't want to use cookies | |
customHeaders | Specify custom headers for this request | |
return | string |
public PostPage ( string url, |
||
url | string | Url of webpage |
data | Post values | |
requiredString | string | |
cookies | Cookies for request. Left null if you don't want to use cookies | |
customHeaders | Specify custom headers for this request | |
return | string |
public ProxyManager ( IEnumerable |
||
proxies | IEnumerable |
Proxy list |
anonymousOnly | bool | Set true if you want to filter proxy list and use only anonymous only |
proxyJudgeService | BetterHttpClient.CheckService.ProxyJudgeService | Proxy judge service is used to determine proxy anonymity level |
return | System |
public ProxyManager ( IEnumerable |
||
proxies | IEnumerable |
Proxy list |
anonymousOnly | bool | Set true if you want to filter proxy list and use only anonymous only |
proxyJudgeService | BetterHttpClient.CheckService.ProxyJudgeService | Proxy judge service is used to determine proxy anonymity level |
return | System |
public ProxyManager ( string file, bool anonymousOnly ) : System | ||
file | string | |
anonymousOnly | bool | |
return | System |
public ProxyManager ( string file, bool anonymousOnly, BetterHttpClient.CheckService.ProxyJudgeService service ) : System | ||
file | string | |
anonymousOnly | bool | |
service | BetterHttpClient.CheckService.ProxyJudgeService | |
return | System |