Preparing search index...
The search index is not available
Documentation
Documentation
@waku/sdk
waku
waku_light_push
LightPushCore
Class LightPushCore
Implements the
Waku v2 Light Push protocol
.
Index
Constructors
constructor
Properties
multicodec
prepare
Push
Message
pubsub
Topics
stream
Manager
Methods
send
Constructors
constructor
new
Light
Push
Core
(
pubsubTopics
,
libp2p
)
:
waku
.
waku_light_push
.
LightPushCore
Parameters
pubsubTopics
:
string
[]
libp2p
:
Libp2p
Returns
waku
.
waku_light_push
.
LightPushCore
Properties
Readonly
multicodec
multicodec
:
"/vac/waku/lightpush/2.0.0-beta1"
= "/vac/waku/lightpush/2.0.0-beta1"
Private
prepare
Push
Message
prepare
Push
Message
:
any
Readonly
pubsub
Topics
pubsub
Topics
:
string
[]
Private
Readonly
stream
Manager
stream
Manager
:
any
Methods
send
send
(
encoder
,
message
,
peerId
)
:
Promise
<
CoreProtocolResult
>
Parameters
encoder
:
IEncoder
message
:
IMessage
peerId
:
PeerId
Returns
Promise
<
CoreProtocolResult
>
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
constructor
multicodec
prepare
Push
Message
pubsub
Topics
stream
Manager
send
Documentation
Loading...
Implements the Waku v2 Light Push protocol.