Preparing search index...
The search index is not available
Documentation
Documentation
@waku/interfaces
IEncoder
Interface IEncoder
interface
IEncoder
{
contentTopic
:
string
;
ephemeral
:
boolean
;
pubsubTopic
:
string
;
toProtoObj
:
(
(
message
)
=>
Promise
<
undefined
|
IProtoMessage
>
)
;
toWire
:
(
(
message
)
=>
Promise
<
undefined
|
Uint8Array
>
)
;
}
Implemented by
Index
Properties
content
Topic
ephemeral
pubsub
Topic
to
Proto
Obj
to
Wire
Properties
content
Topic
content
Topic
:
string
ephemeral
ephemeral
:
boolean
pubsub
Topic
pubsub
Topic
:
string
to
Proto
Obj
to
Proto
Obj
:
(
(
message
)
=>
Promise
<
undefined
|
IProtoMessage
>
)
Type declaration
(
message
)
:
Promise
<
undefined
|
IProtoMessage
>
Parameters
message
:
IMessage
Returns
Promise
<
undefined
|
IProtoMessage
>
to
Wire
to
Wire
:
(
(
message
)
=>
Promise
<
undefined
|
Uint8Array
>
)
Type declaration
(
message
)
:
Promise
<
undefined
|
Uint8Array
>
Parameters
message
:
IMessage
Returns
Promise
<
undefined
|
Uint8Array
>
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
content
Topic
ephemeral
pubsub
Topic
to
Proto
Obj
to
Wire
Documentation
@waku/interfaces - v0.0.21
@waku/utils - v0.0.14
@waku/proto - v0.0.6
@waku/enr - v0.0.20
@waku/core - v0.0.26
@waku/relay - v0.0.9
@waku/message-hash - v0.1.10
@waku/peer-exchange - v0.0.19
@waku/dns-discovery - v0.0.20
@waku/message-encryption - v0.0.24
@waku/sdk - v0.0.22
@waku/browser-tests
Generated using
TypeDoc