This article introduces the second part.

The Web Shop sends a request to the WebSocket server:

Wsserver.js: Throws an event directly to the request via eventEmitter:

Wsserver.js is responsible for throwing events, not handling them.

Wsserverforwebshop.js:

Request details from Webshop, Line 120 sent to Orchestra:

For more of Jerry’s original articles, please follow the public account “Wang Zixi “: