Preparing search index...
The search index is not available
Documentation
Documentation
@waku/core
waku_light_push
LightPushCore
Class LightPushCore
Implements the
Waku v2 Light Push protocol
.
Index
Constructors
constructor
Properties
multicodec
pubsub
Topics
stream
Manager
Methods
prepare
Push
Message
send
Constructors
constructor
new
Light
Push
Core
(
pubsubTopics
,
libp2p
)
:
waku_light_push
.
LightPushCore
Parameters
pubsubTopics
:
string
[]
libp2p
:
Libp2p
Returns
waku_light_push
.
LightPushCore
Properties
Readonly
multicodec
multicodec
:
"/vac/waku/lightpush/2.0.0-beta1"
= LightPushCodec
Readonly
pubsub
Topics
pubsub
Topics
:
string
[]
Private
Readonly
stream
Manager
stream
Manager
:
StreamManager
Methods
Private
prepare
Push
Message
prepare
Push
Message
(
encoder
,
message
)
:
Promise
<
PreparePushMessageResult
>
Parameters
encoder
:
IEncoder
message
:
IMessage
Returns
Promise
<
PreparePushMessageResult
>
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
pubsub
Topics
stream
Manager
prepare
Push
Message
send
Documentation
Loading...
Implements the Waku v2 Light Push protocol.