interface TransportManager {
    add(transport): void;
    dial(ma, options?): Promise<Connection>;
    dialTransportForMultiaddr(ma): undefined | Transport<ProgressEvent<any, unknown>>;
    getAddrs(): Multiaddr[];
    getListeners(): Listener[];
    getTransports(): Transport<ProgressEvent<any, unknown>>[];
    listen(addrs): Promise<void>;
    listenTransportForMultiaddr(ma): undefined | Transport<ProgressEvent<any, unknown>>;
    remove(key): Promise<void>;
    removeAll(): Promise<void>;
}

Methods