Proxy (HttpRequest property): Difference between revisions
Jump to navigation
Jump to search
m (match syntax table to syntax template; edits, tags and links) |
m (→See also) |
||
Line 28: | Line 28: | ||
==See also== | ==See also== | ||
<ul> | |||
<li>The current proxy setting can be cleared with <var>[[RemoveProxy_(HttpRequest_subroutine)|RemoveProxy]]</var>. | |||
</ul> | |||
{{Template:HttpRequest:Proxy footer}} | {{Template:HttpRequest:Proxy footer}} |
Latest revision as of 04:29, 19 June 2011
Permit use of proxy server? (HttpRequest class)
The Proxy 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
%currentString | The string or Longstring variable for the assignment of the current value of Proxy. If no Proxy value has been set, currentString is assigned a zero-length string. |
---|---|
httpRequest | A previously defined and instantiated HttpRequest object. |
newString | Identifies the proxy server to use, and is of form:
[Protocol://]Host[:Port]
|
Usage notes
- If Proxy is set multiple times, the most recent setting is used as the proxy server.
See also
- The current proxy setting can be cleared with RemoveProxy.