Invoke a method on the libp2p object

interface RPCMessage {
    message: string;
    source: "@libp2p/devtools-metrics:devtools" | "@libp2p/devtools-metrics:metrics";
    tabId: number;
    type: "libp2p-rpc";
}

Properties

message: string

The RPC message encoded as a multibase string

source: "@libp2p/devtools-metrics:devtools" | "@libp2p/devtools-metrics:metrics"
tabId: number
type: "libp2p-rpc"