Skip to content

Sockets

Jacques DAFFLON edited this page Aug 6, 2013 · 10 revisions
Disclaimer

This pages does not reflect the current implementation of the sockets. It only list the future events which will be supported.

Namespaces

This sections list all the server's namespaces and a brief description of their functionality. It is subject to changes without notice.

Namespaces with the CC indication require the client to be whitelisted and have the canControl field set to true to be granted access.

  • CC /ctrl

    • Send:
      • goto
      • gotosub
      • terminated
  • /folo : This namespace handles answer submissions to the current question, when there is one. The number of connections to this namespace represents the viewers count. It also sends out events to move around the slideshow

  • CC /wtap : Allows for the complete rendering of the slideshow similarly to the /folo namespace but without handling of the submission and the connections to this namespace are not included in the viewers count.

  • CC /stat : This namespace only receives updates to the current session's statistics such as number of followers, questions related stats, ...

Events

This sections list all the events and is subject to changes.

  • asq:goto : Go to a specific slide.
  • asq:gotosub : Go to a specific substep in a slide.
  • asq:submit : Submit a possible answer to a question.
  • asq:stats : Show statistics related to a question.
  • asq:terminated : Indicate the session was terminated.

Clone this wiki locally