Package cherrypy :: Package lib :: Module http :: Class Host
[hide private]
[frames] | no frames]

Class Host

source code

object --+
         |
        Host

An internet address.

name should be the client's host name. If not available (because no DNS
    lookup is performed), the IP address should be used instead.



Instance Methods [hide private]
 
__init__(self, ip, port, name=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__repr__(self)
repr(x)
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __str__

Class Variables [hide private]
  ip = '0.0.0.0'
  port = 80
  name = 'unknown.tld'
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, ip, port, name=None)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)

__repr__(self)
(Representation operator)

source code 
repr(x)
Overrides: object.__repr__
(inherited documentation)