Preparing search index...
The search index is not available
@waku/root
@waku/root
@waku/peer-exchange
WakuPeerExchange
Class WakuPeerExchange
Hierarchy
WakuPeerExchange
Implements
IPeerExchange
Index
Constructors
constructor
Properties
callback
components
create
Options?
Accessors
peer
Store
Methods
get
Peer
handler
new
Stream
peers
query
Constructors
constructor
new
Waku
Peer
Exchange
(
components
:
PeerExchangeComponents
, createOptions
?:
ProtocolOptions
)
:
WakuPeerExchange
Parameters
components:
PeerExchangeComponents
Optional
createOptions:
ProtocolOptions
Returns
WakuPeerExchange
Properties
Private
callback
callback
:
undefined
|
(
(
response
:
PeerExchangeResponse
)
=>
Promise
<
void
>
)
components
components
:
PeerExchangeComponents
Optional
create
Options
create
Options
?:
ProtocolOptions
Accessors
peer
Store
get
peerStore
(
)
:
PeerStore
Returns
PeerStore
Methods
Private
get
Peer
get
Peer
(
peerId
?:
PeerId
)
:
Promise
<
Peer
>
Parameters
Optional
peerId:
PeerId
Returns
Promise
<
Peer
>
Private
handler
handler
(
streamData
:
IncomingStreamData
)
:
void
Parameters
streamData:
IncomingStreamData
Returns
void
Private
new
Stream
new
Stream
(
peer
:
Peer
)
:
Promise
<
Stream
>
Parameters
peer:
Peer
Returns
Promise
<
Stream
>
peers
peers
(
)
:
Promise
<
Peer
[]
>
Returns
Promise
<
Peer
[]
>
query
query
(
params
:
PeerExchangeQueryParams
, callback
:
(
(
response
:
PeerExchangeResponse
)
=>
Promise
<
void
>
)
)
:
Promise
<
void
>
Parameters
params:
PeerExchangeQueryParams
callback:
(
(
response
:
PeerExchangeResponse
)
=>
Promise
<
void
>
)
(
response
:
PeerExchangeResponse
)
:
Promise
<
void
>
Parameters
response:
PeerExchangeResponse
Returns
Promise
<
void
>
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
@waku/root
@waku/byte-
utils
@waku/core
message
topic_
only_
message
version_
0
proto
Rate
Limit
Proof
Waku
Message
waku
waku_
filter
waku_
light_
push
Push
Response
waku_
relay
waku_
store
@waku/create
@waku/dns-
discovery
@waku/enr
@waku/interfaces
@waku/libp2p-
utils
@waku/message-
encryption
ecies
symmetric
@waku/peer-
exchange
@waku/proto
Waku
Message
proto_
filter
FilterRPC
Filter
Request
Content
Filter
Message
Push
Rate
Limit
Proof
proto_
lightpush
PushRPC
Push
Request
Push
Response
Rate
Limit
Proof
Waku
Message
proto_
message
Rate
Limit
Proof
Waku
Message
proto_
peer_
exchange
Peer
Exchange
Query
Peer
ExchangeRPC
Peer
Exchange
Response
Peer
Info
proto_
store
Content
Filter
History
Query
HistoryRPC
History
Response
History
Error
Index
Paging
Info
Direction
Rate
Limit
Proof
Waku
Message
proto_
topic_
only_
message
Topic
Only
Message
Waku
Peer
Exchange
constructor
callback
components
create
Options?
peer
Store
get
Peer
handler
new
Stream
peers
query
Generated using
TypeDoc