Preparing search index...
The search index is not available
libp2p
libp2p
@libp2p/interface-compliance-tests
mocks
MockNetwork
Class MockNetwork
Index
Constructors
constructor
Properties
components
Methods
add
Node
get
Node
reset
Constructors
constructor
new
Mock
Network
(
)
:
MockNetwork
Returns
MockNetwork
Properties
Private
components
components
:
MockNetworkComponents
[]
= []
Methods
add
Node
add
Node
(
components
)
:
void
Parameters
components
:
MockNetworkComponents
Returns
void
get
Node
get
Node
(
peerId
)
:
MockNetworkComponents
Parameters
peerId
:
PeerId
|
Multiaddr
[]
Returns
MockNetworkComponents
reset
reset
(
)
:
void
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
components
add
Node
get
Node
reset
libp2p
Loading...