|
Class: HTTPProxyQuery
Object
|
+--GenericException
|
+--Notification
|
+--Query
|
+--HTTPProxyQuery
- Package:
- stx:goodies/communication
- Category:
- Net-Communication-HTTP-Client
- Version:
- rev:
1.1
date: 2011/10/05 16:13:31
- user: cg
- file: HTTPProxyQuery.st directory: goodies/communication
- module: stx stc-classLibrary: communication
- Author:
- cg
query for a proxy (raised by HTTPInterface to ask any caller for a proxySettings info)
[instance variables:]
[class variables:]
[example:]
|p|
p := HTTPProxySettings new.
p proxyHost:'foo'.
p proxyPort:1234.
p useProxy:true.
HTTPProxyQuery
answer:p
do:[
HTTPInterface get:'www.exept.de'
].
|reply p|
p := HTTPProxySettings useHost:'sixtyfour' port:3128.
HTTPProxyQuery
answer:p
do:[
reply := HTTPInterface get:'www.exept.de'
].
|
|reply|
HTTPInterface
withProxy:(HTTPProxySettings useHost:'sixtyfour' port:3128)
do:[
reply := HTTPInterface get:'http://www.exept.de'
].
|
|