async-call-rpc

A lightweight JSON RPC client & server

Home > async-call-rpc > AsyncCallStrictOptions > methodNotFound

AsyncCallStrictOptions.methodNotFound property

Controls if AsyncCall send an ErrorResponse when the requested method is not defined.

Signature:

methodNotFound?: boolean;

Remarks

If this option is set to false, AsyncCall will ignore the request and print a log if the method is not defined.