interface Response {
    dht?: DHTResponse;
    error?: ErrorResponse;
    identify?: IdentifyResponse;
    peerStore?: PeerstoreResponse;
    peers: PeerInfo[];
    pubsub?: PSResponse;
    streamInfo?: StreamInfo;
    type?: Response.Type;
}

Properties

identify?: IdentifyResponse
peerStore?: PeerstoreResponse
peers: PeerInfo[]
pubsub?: PSResponse
streamInfo?: StreamInfo
type?: Response.Type