Closed nneves closed 11 years ago
rest.js is now implementing a minimal functionality to cache json data into the "arrayCachePrinterMsg" object array and once socket.io gets is first client it will emit that that to the local jsonStream that will then trigger the socket.io emit pattern already implemented in #2
New communication channel is now set using sokcet.io, printer mapped messages are sent to client/browser after the 1st client gets connected but previous code wouldn't cache the initialization messages or other data.
Please check issue #2 for more details.