Preparing search index...
The search index is not available
SDK Core Documentation - v0.0.2-5
SDK Core Documentation
SimpleEnvelopeP2PProvider
Class SimpleEnvelopeP2PProvider
Index
Constructors
constructor
Properties
max
Read
Length
Methods
destroy
emit
Data
emit
Error
end
on
write
Constructors
constructor
new
Simple
Envelope
P2PProvider
(
nextProvider
)
:
SimpleEnvelopeP2PProvider
Parameters
nextProvider
:
P2PProvider
Returns
SimpleEnvelopeP2PProvider
Properties
Static
max
Read
Length
max
Read
Length
:
number
= ...
Methods
destroy
destroy
(
err
?
)
:
void
Parameters
Optional
err
:
Error
Returns
void
emit
Data
emit
Data
(
messageBuffer
)
:
void
Parameters
messageBuffer
:
Uint8Array
Returns
void
emit
Error
emit
Error
(
err
)
:
void
Parameters
err
:
any
Returns
void
end
end
(
cb
?
)
:
void
Parameters
Optional
cb
:
P2PHandler
Returns
void
on
on
<
T
>
(
event
,
handler
)
:
this
Type Parameters
T
extends
keyof
P2PEventMap
Parameters
event
:
T
handler
:
P2PEventMap
[
T
]
Returns
this
write
write
(
data
,
done
?
)
:
void
Parameters
data
:
Uint8Array
Optional
done
:
P2PHandler
Returns
void
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
constructor
max
Read
Length
destroy
emit
Data
emit
Error
end
on
write
SDK Core Documentation - v0.0.2-5
Loading...