# ``twisted`.`internet`.`address`.`HostnameAddress``

class documentation

`class HostnameAddress: (source)`

Implements interfaces: `twisted.internet.interfaces.IAddress`

View In Hierarchy

A `HostnameAddress` represents the address of a `HostnameEndpoint`.

Instance Variable | `hostname` | A hostname byte string; for example, b"example.com".
Instance Variable | `port` | An integer representing the port number.

hostname: `bytes` = (source)
A hostname byte string; for example, b"example.com".
port: `int` = (source)
An integer representing the port number.