async-call-rpc

A lightweight JSON RPC client & server

Home > async-call-rpc > AsyncCallStrictOptions

AsyncCallStrictOptions interface

Strict options

Signature:

export interface AsyncCallStrictOptions 

Remarks

Control the behavior that different from the JSON-RPC specification.

Properties

Property Modifiers Type Description
methodNotFound?   boolean (Optional) Controls if AsyncCall send an ErrorResponse when the requested method is not defined.
unknownMessage?   boolean (Optional) Controls if AsyncCall send an ErrorResponse when the message is not valid.