Preparing search index...
The search index is not available
Deepkit
Deepkit
rpc
RpcMessageReader
Class RpcMessageReader
Hierarchy
RpcMessageReader
Index
Constructors
constructor
Properties
buffer
Reader
chunk
Acks
chunks
on
Chunk?
on
Message
progress
Methods
feed
got
Message
on
Chunk
Ack
register
Progress
Constructors
constructor
new
Rpc
Message
Reader
(
onMessage
:
(
(
response
:
RpcMessage
)
=>
void
)
, onChunk
?:
(
(
id
:
number
)
=>
void
)
)
:
RpcMessageReader
Parameters
onMessage:
(
(
response
:
RpcMessage
)
=>
void
)
(
response
:
RpcMessage
)
:
void
Parameters
response:
RpcMessage
Returns
void
Optional
onChunk:
(
(
id
:
number
)
=>
void
)
(
id
:
number
)
:
void
Parameters
id:
number
Returns
void
Returns
RpcMessageReader
Properties
Protected
buffer
Reader
buffer
Reader
:
RpcBufferReader
= ...
Protected
chunk
Acks
chunk
Acks
:
Map
<
number
,
Function
>
= ...
Protected
chunks
chunks
:
Map
<
number
,
{
buffers
:
Uint8Array
[]
;
loaded
:
number
;
}
>
= ...
Protected
Optional
Readonly
on
Chunk
on
Chunk
?:
(
(
id
:
number
)
=>
void
)
Type declaration
(
id
:
number
)
:
void
Parameters
id:
number
Returns
void
Protected
Readonly
on
Message
on
Message
:
(
(
response
:
RpcMessage
)
=>
void
)
Type declaration
(
response
:
RpcMessage
)
:
void
Parameters
response:
RpcMessage
Returns
void
Protected
progress
progress
:
Map
<
number
,
SingleProgress
>
= ...
Methods
feed
feed
(
buffer
:
Uint8Array
, bytes
?:
number
)
:
void
Parameters
buffer:
Uint8Array
Optional
bytes:
number
Returns
void
Protected
got
Message
got
Message
(
buffer
:
Uint8Array
)
:
void
Parameters
buffer:
Uint8Array
Returns
void
on
Chunk
Ack
on
Chunk
Ack
(
id
:
number
, callback
:
Function
)
:
void
Parameters
id:
number
callback:
Function
Returns
void
register
Progress
register
Progress
(
id
:
number
, progress
:
SingleProgress
)
:
void
Parameters
id:
number
progress:
SingleProgress
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Modules
Deepkit
angular-
universal
api-
console-
api
api-
console-
module
app
broker
bson
core
core-
rxjs
create-
app
crypto
event
framework
framework-
debug-
api
http
injector
logger
mongo
mysql
orm
orm-
browser-
api
orm-
integration
postgres
rpc
rpc-
tcp
skeleton
sql
sqlite
stopwatch
template
type
type-
compiler
workflow
Rpc
Message
Reader
constructor
buffer
Reader
chunk
Acks
chunks
on
Chunk?
on
Message
progress
feed
got
Message
on
Chunk
Ack
register
Progress
Generated using
TypeDoc