Open jelly opened 2 years ago
TBH I find that a bit confusing. It mixes a control API call (/new) with an existing session. These don't happen at the same time, and it's not obvious what really happens. Also, the browser connects to /session/id/web/; the /new is done internally from consoledot. Perhaps a structure diagram for the parts and who communicates with whom, and two sequence diagrams for the "new session" and "connect to session" flows?
Preview in: https://github.com/jelly/console.dot/blob/4ff85591c1b4b52cdfbcd0cb75c1b3e567863e53/README.md#diagrams