twisted.internet.address.HostnameAddress(object) class documentationtwisted.internet.address
View Source
(View In Hierarchy)
Implements interfaces: twisted.internet.interfaces.IAddress
A HostnameAddress
represents the address of a HostnameEndpoint.
| Instance Variable | hostname | A hostname byte string; for example, b"example.com". (type: bytes) |
| Instance Variable | port | An integer representing the port number. (type: int) |