You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the feature you'd like
Create an POST "/plot/<connection code>" endpoint, which accepts form-data containg only 1 field - image. It should search the database for a plotter with the same connection code, get the session id from there, get the socket by the session id and forward the image on the plotter.
Additional context
The following code snippet might be helpful: const plotterSocket = io.sockets.sockets.get(sessionId);
The text was updated successfully, but these errors were encountered:
Describe the feature you'd like
Create an
POST "/plot/<connection code>"
endpoint, which accepts form-data containg only 1 field -image
. It should search the database for a plotter with the same connection code, get the session id from there, get the socket by the session id and forward the image on the plotter.Additional context
const plotterSocket = io.sockets.sockets.get(sessionId);
The text was updated successfully, but these errors were encountered: