Answer the question
In order to leave comments, you need to log in
How to pass websocket client to master process in nodejs?
Good afternoon!
I am working with sockjs. When a stream object (client) arrives, I send it through the worker to the master process. process.send({ client: connection })
connection is a stream object (client).
And when I call the send method, I get an error:
internal/child_process.js:609
var string = JSON.stringify(message) + '\n';
^
TypeError: Converting circular structure to JSON
. Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question