Preparing search index...
The search index is not available
Documentation
Documentation
@waku/core
Encoder
Class Encoder
Hierarchy
Encoder
Implements
IEncoder
Index
Constructors
constructor
Properties
content
Topic
ephemeral
meta
Setter?
Methods
to
Proto
Obj
to
Wire
Constructors
constructor
new
Encoder
(
contentTopic
,
ephemeral
?
,
metaSetter
?
)
:
Encoder
Parameters
contentTopic
:
string
ephemeral
:
boolean
= false
Optional
metaSetter
:
IMetaSetter
Returns
Encoder
Properties
content
Topic
content
Topic
:
string
ephemeral
ephemeral
:
boolean
= false
Optional
meta
Setter
meta
Setter
?:
IMetaSetter
Methods
to
Proto
Obj
to
Proto
Obj
(
message
)
:
Promise
<
IProtoMessage
>
Parameters
message
:
IMessage
Returns
Promise
<
IProtoMessage
>
to
Wire
to
Wire
(
message
)
:
Promise
<
Uint8Array
>
Parameters
message
:
IMessage
Returns
Promise
<
Uint8Array
>
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
constructor
content
Topic
ephemeral
meta
Setter
to
Proto
Obj
to
Wire
Documentation
@waku/interfaces - v0.0.18
@waku/utils - v0.0.11
@waku/proto - v0.0.5
@waku/enr - v0.0.17
@waku/core - v0.0.23
@waku/relay - v0.0.6
@waku/message-hash - v0.1.7
@waku/peer-exchange - v0.0.16
@waku/dns-discovery - v0.0.17
@waku/message-encryption - v0.0.21
@waku/sdk - v0.0.19
@waku/browser-tests
Generated using
TypeDoc