aea.helpers.acn.uri
This module contains types and helpers for libp2p connections Uris.
Uri Objects
class Uri()
Holds a node address in format "host:port".
__
init__
def __init__(uri: Optional[str] = None,
host: Optional[str] = None,
port: Optional[int] = None) -> None
Initialise Uri.
__
str__
def __str__() -> str
Get string representation.
__
repr__
def __repr__() -> str
Get object representation.
host
@property
def host() -> str
Get host.
port
@property
def port() -> int
Get port.