Skip to content

Commit bda8a6b

Browse files
committed
docs
1 parent 3fbc78d commit bda8a6b

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

docs/protocol.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,22 @@ _Notification:_
168168
interface InitializedParams {}
169169
```
170170

171+
#### Sequence diagram: Initialize
172+
173+
The following timeline illustrates the typical initialize handshake between client and server, including the config update sent after initialization is acknowledged by the client.
174+
175+
```mermaid
176+
sequenceDiagram
177+
autonumber
178+
participant C as Client / Editor
179+
participant S as ECA Server
180+
C->>S: initialize (request)
181+
S-->>C: initialize (response)
182+
C->>S: initialized (notification)
183+
S-->>C: config/updated (notification)
184+
S-->>C: tool/serverUpdated (notification)
185+
```
186+
171187
### Shutdown (↩️)
172188

173189
A request sent from the client to the server to gracefully shut down the connection. This message:

0 commit comments

Comments
 (0)