A lightweight JSON RPC client & server
Home > async-call-rpc > AsyncCallStrictOptions > unknownMessage
Controls if AsyncCall send an ErrorResponse when the message is not valid.
Signature:
unknownMessage?: boolean;
If this option is set to false, AsyncCall will ignore the request that cannot be parsed as a valid JSON RPC payload. This is useful when the message channel is also used to transfer other kinds of messages.