Clarify documentation

This commit is contained in:
Dirk Baeumer 2017-01-31 16:13:07 +01:00
parent b082a3bd76
commit 58a290c33f

View file

@ -563,9 +563,11 @@ 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.
* for a request the respond should be errored with `code: -32002`. The message can be picked by the server.
* notifications should be dropped.
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.
>**Updated**: During the `initialize` request the server is allowed to sent the notifications `window/showMessage`, `window/logMessage` and `telemetry/event` as well as the `window/showMessageRequest` request to the client.
_Request_: