UNPKG

@node-lightning/wire

Version:
23 lines (22 loc) 501 B
import { AddressJson } from "./AddressJson"; import { AddressType } from "./AddressType"; export declare abstract class Address { /** * String notation representation of the host */ host: string; /** * Port number */ port: number; /** * Base class representing a network address */ constructor(host: string, port: number); /** * Type of connection */ get type(): AddressType; toString(): string; toJSON(): AddressJson; }