interface documentation

class IHostResolution(Interface): (source)

Known implementations: twisted.internet._resolver.HostResolution

View In Hierarchy

An IHostResolution represents represents an in-progress recursive query for a DNS name.

Present Since
Twisted 17.1.0
Method cancel Stop the hostname resolution in progress.
Attribute name unicode; the name of the host being resolved.
def cancel(): (source)

Stop the hostname resolution in progress.

unicode; the name of the host being resolved.