Expand description
Handles playground-views-related functionality, in particular the websocket connections used to update the grading for services like tmc.
Structsยง
- Client
Connection ๐ - Playground
Submission ๐Message - WsConnections ๐
Enumsยง
- Playground
Views Message - The message type for all messages sent from the server to the client from the playgrounds-views websocket connection.
Constantsยง
- CONNECTION_
TIMEOUT ๐ - PING_
INTERVAL ๐
Staticsยง
- WS_
CONNECTIONS ๐
Functionsยง
- _add_
routes - receive_
grading ๐ - playground-views passes a URL pointing to this route to an exercise service when sending submissions so that if the service has an update for a pending grading, it will be sent here and passed on to through the websocket
- websocket ๐
- Starts a new websocket connection.