mirror of
https://github.com/microsoft/language-server-protocol.git
synced 2025-12-23 08:48:16 +00:00
Fixes #684: Add a note about how to handle (reject?) requests after a shutdown notification
This commit is contained in:
parent
f926729739
commit
ec9d2f24c0
1 changed files with 1 additions and 1 deletions
|
|
@ -1923,7 +1923,7 @@ interface InitializedParams {
|
|||
|
||||
#### <a href="#shutdown" name="shutdown" class="anchor">Shutdown Request (:leftwards_arrow_with_hook:)</a>
|
||||
|
||||
The shutdown request is sent from the client to the server. It asks the server to shut down, but to not exit (otherwise the response might not be delivered correctly to the client). There is a separate exit notification that asks the server to exit.
|
||||
The shutdown request is sent from the client to the server. It asks the server to shut down, but to not exit (otherwise the response might not be delivered correctly to the client). There is a separate exit notification that asks the server to exit. Clients must not sent any notifications other than `exit` or requests to a server to which they have sent a shutdown requests. If a server receives requests after a shutdown request those requests should be errored with `InvalidRequest`.
|
||||
|
||||
_Request_:
|
||||
* method: 'shutdown'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue