Preparing search index...
The search index is not available
mockttp
mockttp
requestHandlers
JsonRpcResponseHandler
Class JsonRpcResponseHandler
Hierarchy (
view full
)
JsonRpcResponseHandlerDefinition
JsonRpcResponseHandler
Index
Constructors
constructor
Properties
result
type
Methods
dispose
explain
handle
Constructors
constructor
new
Json
Rpc
Response
Handler
(
result
)
:
JsonRpcResponseHandler
Parameters
result
:
{
error
?:
undefined
;
result
:
any
;
}
|
{
error
:
any
;
result
?:
undefined
;
}
Returns
JsonRpcResponseHandler
Properties
Readonly
result
result
:
{
error
?:
undefined
;
result
:
any
;
}
|
{
error
:
any
;
result
?:
undefined
;
}
Readonly
type
type
:
"json-rpc-response"
= 'json-rpc-response'
Methods
dispose
dispose
(
)
:
void
Returns
void
explain
explain
(
)
:
string
Returns
string
handle
handle
(
request
,
response
)
:
Promise
<
void
>
Parameters
request
:
OngoingRequest
response
:
OngoingResponse
Returns
Promise
<
void
>
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
result
type
Methods
dispose
explain
handle
mockttp
Loading...