Preparing search index...
The search index is not available
Documentation
Documentation
@waku/sdk
Encoder
Class Encoder
Implements
IEncoder
Index
Constructors
constructor
Properties
content
Topic
ephemeral
meta
Setter?
pubsub
Topic
Methods
to
Proto
Obj
to
Wire
Constructors
constructor
new
Encoder
(
contentTopic
,
ephemeral
,
pubsubTopic
,
metaSetter
?
)
:
Encoder
Parameters
contentTopic
:
string
ephemeral
:
boolean
pubsubTopic
:
string
Optional
metaSetter
:
IMetaSetter
Returns
Encoder
Properties
content
Topic
content
Topic
:
string
ephemeral
ephemeral
:
boolean
Optional
meta
Setter
meta
Setter
?:
IMetaSetter
pubsub
Topic
pubsub
Topic
:
string
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
pubsub
Topic
to
Proto
Obj
to
Wire
Documentation
Loading...