| ZennoLab.CommandCenter Assembly > ZennoLab.CommandCenter Namespace > ZennoPoster Class : HttpGet Method |
Type: System.String
Target address of request.
Type: System.String
Proxy string (for example: socks5://llogin:pass@8.5.6.7:8080).
Type: System.String
Encoding format.
Type: ZennoLab.InterfacesLibrary.Enums.Http.ResponceType
Response type (cane take values: BodyOnly, HeaderOnly, HeaderAndBody, File).
Type: System.Int32
Timeout in milliseconds of request.
Type: System.String
Cookies for request.
Type: System.String
UserAgent for request.
Type: System.Boolean
true if use redirect; otherwise, false.
Type: System.Int32
Maximum count of redirects.
Type: System.String[]
An array of captures an array of additional headers.
Type: System.String
Download path for file.
Type: System.Boolean
true if use original url; otherwise, false.
public static string HttpGet( string url, string proxy, string Encoding, ResponceType respType, int Timeout, string Cookies, string UserAgent, bool UseRedirect, int MaxRedirectCount, string[] AdditionalHeaders, string DownloadPath, bool UseOriginalUrl )
Type: System.String
Target address of request.
Type: System.String
Proxy string (for example: socks5://llogin:pass@8.5.6.7:8080).
Type: System.String
Encoding format.
Type: ZennoLab.InterfacesLibrary.Enums.Http.ResponceType
Response type (cane take values: BodyOnly, HeaderOnly, HeaderAndBody, File).
Type: System.Int32
Timeout in milliseconds of request.
Type: System.String
Cookies for request.
Type: System.String
UserAgent for request.
Type: System.Boolean
true if use redirect; otherwise, false.
Type: System.Int32
Maximum count of redirects.
Type: System.String[]
An array of captures an array of additional headers.
Type: System.String
Download path for file.
Type: System.Boolean
true if use original url; otherwise, false.
Type: System.String
The result of request.
var resultHttpGet = ZennoPoster.HttpGet("https://www.google.ru/", "", "UTF-8", ZennoLab.InterfacesLibrary.Enums.Http.ResponceType.HeaderAndBody);
$resultHttpGet = ZennoLab\CommandCenter\ZennoPoster::HttpGet("https://www.google.ru/", "", "UTF-8", ZennoLab\InterfacesLibrary\Enums\Http\ResponceType::HeaderAndBody);
Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.
ZennoPoster Class
ZennoPoster Members
HttpPost Method