interface RelayNode {
    connectionManager: IConnectionManager;
    filter: undefined;
    libp2p: Libp2p;
    lightPush: undefined;
    relay: IRelay;
    store: undefined;
    dial(peer, protocols?): Promise<Stream>;
    isConnected(): boolean;
    isStarted(): boolean;
    start(): Promise<void>;
    stop(): Promise<void>;
}

Hierarchy (view full)

Properties

connectionManager: IConnectionManager
filter: undefined
libp2p: Libp2p
lightPush: undefined
relay: IRelay
store: undefined

Methods

  • Parameters

    • peer: PeerId | MultiaddrInput
    • Optional protocols: Protocols[]

    Returns Promise<Stream>

  • Returns boolean

  • Returns boolean

  • Returns Promise<void>

  • Returns Promise<void>

Generated using TypeDoc