Function: stringifyMessage()
stringifyMessage<
T
>(msg
,replacer
?):string
Defined in: src/common.ts:461
Stringifies a valid message ready to be sent through the socket.
Type Parameters
• T extends MessageType
Parameters
msg
Message
<T
>
replacer?
Returns
string