mirror of
https://github.com/microsoft/language-server-protocol.git
synced 2025-12-23 08:48:16 +00:00
Fixes #195: Clarification: what happens with exit notification prior to Initialize request
This commit is contained in:
parent
bfa94d35d5
commit
17aae15b10
1 changed files with 1 additions and 1 deletions
|
|
@ -604,7 +604,7 @@ The current protocol specification defines that the lifetime of a server is mana
|
|||
The initialize request is sent as the first request from the client to the server. If the server receives request or notification before the `initialize` request it should act as follows:
|
||||
|
||||
* for a request the respond should be errored with `code: -32002`. The message can be picked by the server.
|
||||
* notifications should be dropped.
|
||||
* notifications should be dropped, expect for the exit notification. This will allow the exit a server without an initialize request.
|
||||
|
||||
Until the server has responded to the `initialize` request with an `InitializeResult` the client must not sent any additional requests or notifications to the server.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue