Documentation
Preparing search index...
@waku/react
waku
LightPushCore
Class LightPushCore
Implements the
Waku v2 Light Push protocol
.
Index
Constructors
constructor
Properties
multicodec
Methods
send
Constructors
constructor
new
LightPushCore
(
libp2p
:
Libp2p
)
:
waku
.
LightPushCore
Parameters
libp2p
:
Libp2p
Returns
waku
.
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
Optional
useLegacy
:
boolean
Returns
Promise
<
LightPushCoreResult
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
multicodec
Methods
send
Documentation
Loading...
Implements the Waku v2 Light Push protocol.