Documentation
Preparing search index...
@waku/core
LightPushCore
Class LightPushCore
Implements the
Waku v2 Light Push protocol
.
Index
Constructors
constructor
Properties
multicodec
Methods
send
stop
Constructors
constructor
new
LightPushCore
(
libp2p
:
Libp2p
)
:
LightPushCore
Parameters
libp2p
:
Libp2p
Returns
LightPushCore
Properties
Readonly
multicodec
multicodec
:
(
"/vac/waku/lightpush/2.0.0-beta1"
|
"/vac/waku/lightpush/3.0.0"
)
[]
= ...
Methods
send
send
(
encoder
:
IEncoder
,
message
:
IMessage
,
peerId
:
PeerId
,
useLegacy
?:
boolean
,
)
:
Promise
<
LightPushCoreResult
>
Parameters
encoder
:
IEncoder
message
:
IMessage
peerId
:
PeerId
useLegacy
:
boolean
= false
Returns
Promise
<
LightPushCoreResult
>
stop
stop
()
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
multicodec
Methods
send
stop
Documentation
Loading...
Implements the Waku v2 Light Push protocol.