# ``twisted`.`internet`.`_resolver`.`HostResolution``

class documentation

`class HostResolution: (source)`

Implements interfaces: `twisted.internet.interfaces.IHostResolution`

View In Hierarchy

The in-progress resolution of a given hostname.

Method | `__init__` | Create a `HostResolution` with the given name.
Method | `cancel` | Stop the hostname resolution in progress.
Instance Variable | `name` | `unicode`; the name of the host being resolved.

def __init__(self, name): (source)
Create a `HostResolution` with the given name.
def cancel(self): (source)
from `twisted.internet.interfaces.IHostResolution`
Stop the hostname resolution in progress.
name = (source)
from `twisted.internet.interfaces.IHostResolution`
`unicode`; the name of the host being resolved.