interface Waku {
    connectionManager: IConnectionManager;
    filter?: IFilterSDK;
    health: IHealthManager;
    libp2p: Libp2p;
    lightPush?: ILightPushSDK;
    relay?: IRelay;
    store?: IStoreSDK;
    dial(peer, protocols?): Promise<Stream>;
    isConnected(): boolean;
    isStarted(): boolean;
    start(): Promise<void>;
    stop(): Promise<void>;
}

Hierarchy (view full)

Implemented by

Properties

connectionManager: IConnectionManager
filter?: IFilterSDK
libp2p: Libp2p
lightPush?: ILightPushSDK
relay?: IRelay
store?: IStoreSDK

Methods

  • Parameters

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

    Returns Promise<Stream>

  • Returns boolean

  • Returns boolean

  • Returns Promise<void>

  • Returns Promise<void>