eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'HTTPProxySettings':

Home

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

Class: HTTPProxySettings


Inheritance:

   Object
   |
   +--HTTPProxySettings

Package:
stx:goodies/communication
Category:
Net-Communication-HTTP-Client
Version:
rev: 1.8 date: 2022/11/21 11:40:18
user: stefan
file: HTTPProxySettings.st directory: goodies/communication
module: stx stc-classLibrary: communication

Description:


adopted from see examples in SptHTTPProxySettings   
(not much to adapt, though)

copyright

COPYRIGHT (c) 2011 by eXept Software AG All Rights Reserved This software is furnished under a license and may be used only in accordance with the terms of that license and with the inclusion of the above copyright notice. This software may not be provided or otherwise made available to, or used by, any other person. No title to or ownership of the software is hereby transferred.

Class protocol:

instance creation
o  useHost: aString port: aSmallInteger
Modified (format): / 05-10-2011 / 17:16:21 / cg

o  useHost: aString port: aSmallInteger user: userName password: password


Instance protocol:

accessing
o  proxyHost
Modified (format): / 05-10-2011 / 17:16:25 / cg

o  proxyHost: aString
Modified (format): / 05-10-2011 / 17:16:41 / cg

o  proxyPassword

o  proxyPassword: something

o  proxyPort
Modified (format): / 05-10-2011 / 17:16:42 / cg

o  proxyPort: anInteger
Modified (format): / 05-10-2011 / 17:16:44 / cg

o  proxyURL
answer an URL for the proxy, to be used in command line ragumnest (e.g. python pip).
Format: scheme://[user:passwd@]proxy.server:port

Usage example(s):

        (Expecco::ExpeccoPreferences current expeccoUpdateProxySettings) proxyURL

o  proxyUser

o  proxyUser: something

o  useHost: aString port: aSmallInteger
Modified (format): / 05-10-2011 / 17:16:46 / cg

o  useProxy
Modified (format): / 05-10-2011 / 17:16:48 / cg

o  useProxy: aBool
Modified (format): / 05-10-2011 / 17:16:51 / cg

comparing
o  = aProxySettings
(comment from inherited method)
return true if the receiver and the arg have the same structure.
Notice:
This method is partially open coded (inlined) by the compiler(s)
identical objects are always considered equal.
redefining it may not work as expected.

o  hash
(comment from inherited method)
return an Integer useful as a hash key for the receiver.
This hash should return same values for objects with same
contents (i.e. use this to hash on structure)



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sat, 21 Dec 2024 15:50:19 GMT