Interface SendQueryEvent

Emitted when sending queries to remote peers

interface SendQueryEvent {
    messageName: "PUT_VALUE" | "GET_VALUE" | "ADD_PROVIDER" | "GET_PROVIDERS" | "FIND_NODE" | "PING" | "codec";
    messageType: MessageType;
    name: "SEND_QUERY";
    to: PeerId;
    type: SEND_QUERY;
}

Properties

messageName: "PUT_VALUE" | "GET_VALUE" | "ADD_PROVIDER" | "GET_PROVIDERS" | "FIND_NODE" | "PING" | "codec"
messageType: MessageType
name: "SEND_QUERY"
to: PeerId