class documentation

class HostnameAddress:

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 =

A hostname byte string; for example, b"example.com".

port: int =

An integer representing the port number.