eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'HTTPProxyQuery':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: HTTPProxyQuery


Inheritance:

   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

Description:


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'
        ].


Examples:


    |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'
        ].


ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Tue, 19 Mar 2024 10:55:24 GMT