encodeMessage
encodeMessage(
message):string
Defined in: src/internal/rpc.ts:210
Internal
Encode a RPC message as a string using JSON. This is only done when structured cloning is not available.
Parameters
Section titled “Parameters”message
Section titled “message”Returns
Section titled “Returns”string