Documentation
Preparing search index...
@waku/react
IEncoder
Interface IEncoder
interface
IEncoder
{
contentTopic
:
string
;
ephemeral
:
boolean
;
pubsubTopic
:
string
;
routingInfo
:
IRoutingInfo
;
toProtoObj
:
(
message
:
IMessage
)
=>
Promise
<
undefined
|
IProtoMessage
>
;
toWire
:
(
message
:
IMessage
,
)
=>
Promise
<
undefined
|
Uint8Array
<
ArrayBufferLike
>
>
;
}
Implemented by
Encoder
Index
Properties
content
Topic
ephemeral
pubsub
Topic
routing
Info
to
Proto
Obj
to
Wire
Properties
content
Topic
contentTopic
:
string
ephemeral
ephemeral
:
boolean
pubsub
Topic
pubsubTopic
:
string
routing
Info
routingInfo
:
IRoutingInfo
to
Proto
Obj
toProtoObj
:
(
message
:
IMessage
)
=>
Promise
<
undefined
|
IProtoMessage
>
to
Wire
toWire
:
(
message
:
IMessage
)
=>
Promise
<
undefined
|
Uint8Array
<
ArrayBufferLike
>
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
content
Topic
ephemeral
pubsub
Topic
routing
Info
to
Proto
Obj
to
Wire
Documentation
Loading...