examples/live-notes Public
title: Loading a notedescription: Someone opens /#groceries. The page connects to the note's room and gets its text.actors: [editor-a]steps: - { from: editor-a, to: api, label: "GET / (the editor page and its script, from static assets)" } - { from: editor-a, to: api, label: "GET /notes/groceries/ws, Upgrade: websocket" } - { from: api, to: note-room, label: "forward the upgrade to the room for idFromName(\"groceries\")" } - { from: note-room, to: editor-a, label: "101 Switching Protocols, socket accepted for hibernation" } - { from: note-room, to: editor-a, label: "snapshot: the note's text and version" }