Properties
dht
dht: { findPeer(peerId,
options?) => AsyncIterable<QueryEvent>; query(peerId,
options?) => AsyncIterable<QueryEvent>; }
Type declaration
-
findPeer:function
-
query:function
Methods
getEndpointConfig
- getEndpointConfig(): {
host: string;
port: string;
protocol: string;
}
-
Returns {
host: string;
port: string;
protocol: string;
}
-
host: string
-
port: string
-
protocol: string