Preparing search index...
The search index is not available
@matrixai/rpc
@matrixai/rpc
middleware
timeoutMiddlewareServer
Function timeoutMiddlewareServer
timeout
Middleware
Server
(
ctx
,
_cancel
,
_meta
)
:
{
forward
:
TransformStream
<
JSONRPCRequest
,
JSONRPCRequest
>
;
reverse
:
TransformStream
<
JSONRPCResponse
,
JSONRPCResponse
>
;
}
Parameters
ctx
:
ContextTimed
_cancel
:
(
(
reason
?
)
=>
void
)
(
reason
?
)
:
void
Parameters
Optional
reason
:
any
Returns
void
_meta
:
undefined
|
Record
<
string
,
JSONValue
>
Returns
{
forward
:
TransformStream
<
JSONRPCRequest
,
JSONRPCRequest
>
;
reverse
:
TransformStream
<
JSONRPCResponse
,
JSONRPCResponse
>
;
}
forward
:
TransformStream
<
JSONRPCRequest
,
JSONRPCRequest
>
reverse
:
TransformStream
<
JSONRPCResponse
,
JSONRPCResponse
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
@matrixai/rpc
errors
events
middleware
binary
To
Json
Message
Stream
default
Client
Middleware
Wrapper
default
Middleware
default
Server
Middleware
Wrapper
json
Message
To
Binary
Stream
timeout
Middleware
Client
timeout
Middleware
Server
utils
Caller
Client
Caller
Client
Handler
Duplex
Caller
Duplex
Handler
Handler
RPCClient
RPCServer
Raw
Caller
Raw
Handler
Server
Caller
Server
Handler
Unary
Caller
Unary
Handler
RPCStream
Client
Handler
Implementation
Client
Manifest
Container
Type
Duplex
Handler
Implementation
From
Error
Handler
Implementation
Handler
Type
Handler
Types
Id
Gen
JSONObject
JSONRPCMessage
JSONRPCRequest
JSONRPCRequest
Message
JSONRPCRequest
Metadata
JSONRPCRequest
Notification
JSONRPCRequest
Params
JSONRPCResponse
JSONRPCResponse
Error
JSONRPCResponse
Failed
JSONRPCResponse
Metadata
JSONRPCResponse
Result
JSONRPCResponse
Success
JSONValue
Map
Callers
Middleware
Factory
Opaque
POJO
Promise
Deconstructed
Raw
Handler
Implementation
Server
Handler
Implementation
Server
Manifest
Stream
Factory
To
Error
Unary
Handler
Implementation
Generated using
TypeDoc