Preparing search index...
The search index is not available
@wharfkit/antelope - v0.7.3
@wharfkit/antelope - v0.7.3
SimpleEnvelopeP2PProvider
Class SimpleEnvelopeP2PProvider
Hierarchy
SimpleEnvelopeP2PProvider
Index
Constructors
constructor
Properties
max
Read
Length
Methods
destroy
emit
Data
emit
Error
end
on
write
Constructors
constructor
new
Simple
Envelope
P2PProvider
(
nextProvider
:
P2PProvider
)
:
SimpleEnvelopeP2PProvider
Parameters
nextProvider:
P2PProvider
Returns
SimpleEnvelopeP2PProvider
Properties
Static
max
Read
Length
max
Read
Length
:
number
= ...
Methods
destroy
destroy
(
err
?:
Error
)
:
void
Parameters
Optional
err:
Error
Returns
void
emit
Data
emit
Data
(
messageBuffer
:
Uint8Array
)
:
void
Parameters
messageBuffer:
Uint8Array
Returns
void
emit
Error
emit
Error
(
err
:
any
)
:
void
Parameters
err:
any
Returns
void
end
end
(
cb
?:
P2PHandler
)
:
void
Parameters
Optional
cb:
P2PHandler
Returns
void
on
on
<
T
>
(
event
:
T
, handler
:
P2PEventMap
[
T
]
)
:
SimpleEnvelopeP2PProvider
Type Parameters
T
extends
keyof
P2PEventMap
Parameters
event:
T
handler:
P2PEventMap
[
T
]
Returns
SimpleEnvelopeP2PProvider
write
write
(
data
:
Uint8Array
, done
?:
P2PHandler
)
:
void
Parameters
data:
Uint8Array
Optional
done:
P2PHandler
Returns
void
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
Modules
@wharfkit/antelope -
v0.7.3
ABI
API
v1
Asset
Base58
Key
Type
P2P
Serializer
Struct
Variant
Simple
Envelope
P2PProvider
constructor
max
Read
Length
destroy
emit
Data
emit
Error
end
on
write
Generated using
TypeDoc