headless_lms_server::controllers::main_frontend

Module playground_views

Source
Expand description

Handles playground-views-related functionality, in particular the websocket connections used to update the grading for services like tmc.

Structsยง

Enumsยง

  • The message type for all messages sent from the server to the client from the playgrounds-views websocket connection.

Constantsยง

Staticsยง

Functionsยง

  • 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.