NAME
PLS::Server::Method::ServerMethod
DESCRIPTION
This module redirects requests that the server must handle to the appropriate subclass of PLS::Server::Request.
It will also return the appropriate error if the client is attempting to make a request before the server has been initialized (PLS::Server::Response::ServerNotInitialized).
If a shutdown request has been sent and another request is sent that is not an exit request, the appropriate error will be returned (PLS::Server::Response::InvalidRequest).
Requests currently implemented:
- initialize - https://microsoft.github.io/language-server-protocol/specifications/specification-current/#initialize
- initialized - https://microsoft.github.io/language-server-protocol/specifications/specification-current/#initialized
- $/cancelRequest - https://microsoft.github.io/language-server-protocol/specifications/specification-current/#cancelRequest
- shutdown - https://microsoft.github.io/language-server-protocol/specifications/specification-current/#shutdown
- exit - https://microsoft.github.io/language-server-protocol/specifications/specification-current/#exit