Proxy (HttpRequest property): Difference between revisions
Jump to navigation
Jump to search
m (moved Proxy (HTTPRequest property) to Proxy (HttpRequest property)) |
m (moved Proxy (HTTPRequest property) to Proxy (HttpRequest property)) |
||
Line 1: | Line 1: | ||
{{Template: | {{Template:HttpRequest:Proxy subtitle}} | ||
This settable method permits the use of proxy servers with the | This settable method permits the use of proxy servers with the | ||
Line 9: | Line 9: | ||
current proxy server (or a zero length string, if no proxy was set). | current proxy server (or a zero length string, if no proxy was set). | ||
==Syntax== | ==Syntax== | ||
{{Template: | {{Template:HttpRequest:Proxy syntax}} | ||
===Syntax terms=== | ===Syntax terms=== | ||
<table class="syntaxTable"> | <table class="syntaxTable"> | ||
Line 28: | Line 28: | ||
as the proxy server. | as the proxy server. | ||
==See also== | ==See also== | ||
{{Template: | {{Template:HttpRequest:Proxy footer}} |
Revision as of 20:16, 16 June 2011
Permit use of proxy server? (HttpRequest class)
This settable method permits the use of proxy servers with the
HTTPRequest object.
If you specify a proxy server by setting Proxy, subsequent Get, Post, and Send calls use this proxy server. If referenced by an HTTPRequest object, Proxy returns the current proxy server (or a zero length string, if no proxy was set).
Syntax
%currentString = httpRequest:Proxy httpRequest:Proxy = newString
Syntax terms
%httpreq | A previously defined and instantiated HTTPRequest object. |
---|---|
ProxyServer | Identifies the proxy server to use, and is of form: [Protocol://]Host[:Port]
|
%curr | The string or longstring variable for the assignment of the current value of Proxy. If no Proxy value has been set, %curr is assigned a zero-length string. |
Usage notes
If Proxy is set multiple times, the most recent setting is used as the proxy server.