Skip to content

Commit ea21b21

Browse files
committed
Initialization must not be part of a batch
1 parent 1f71c93 commit ea21b21

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docs/specification/draft/basic/lifecycle.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,11 @@ The client **MUST** initiate this phase by sending an `initialize` request conta
7373
}
7474
```
7575

76-
For backwards compatibility with older protocol versions, the initialize request **SHOULD
77-
NOT** be part of a JSON-RPC [batch](https://www.jsonrpc.org/specification#batch).
76+
The initialize request **MUST NOT** be part of a JSON-RPC
77+
[batch](https://www.jsonrpc.org/specification#batch), as other requests and notifications
78+
are not possible until initialization has completed. This also permits backwards
79+
compatibility with prior protocol versions that do not explicitly support JSON-RPC
80+
batches.
7881

7982
The server **MUST** respond with its own capabilities and information:
8083

0 commit comments

Comments
 (0)