It has to be a specific JSON object, sent across the WebSocket protocol. Anything else is filtered out as "probably intended for something else", in which case you probably wouldn't want to fill up a log file with all of those rejections on an active system.
You might look at this for some pointers, or to just use:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.