The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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

PLS::Server::Request::Initialize

initialized - https://microsoft.github.io/language-server-protocol/specifications/specification-current/#initialized

PLS::Server::Request::Initialized

$/cancelRequest - https://microsoft.github.io/language-server-protocol/specifications/specification-current/#cancelRequest

PLS::Server::Request::CancelRequest

shutdown - https://microsoft.github.io/language-server-protocol/specifications/specification-current/#shutdown

PLS::Server::Request::Shutdown

exit - https://microsoft.github.io/language-server-protocol/specifications/specification-current/#exit

PLS::Server::Request::Exit