You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/protocol.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -168,6 +168,22 @@ _Notification:_
168
168
interfaceInitializedParams {}
169
169
```
170
170
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
+
171
187
### Shutdown (↩️)
172
188
173
189
A request sent from the client to the server to gracefully shut down the connection. This message:
0 commit comments