Debian Codegraph @

LspCpp/include/LibLsp/lsp/general/shutdown.h

raw
1 #pragma once
2
3 #include "LibLsp/JsonRpc/lsResponseMessage.h"
4 #include "LibLsp/JsonRpc/RequestInMessage.h"
5
6 /**
7 * The shutdown request is sent from the client to the server. It asks the
8 * server to shutdown, but to not exit (otherwise the response might not be
9 * delivered correctly to the client). There is a separate exit notification
10 * that asks the server to exit.
11 */
12
13 DEFINE_REQUEST_RESPONSE_TYPE(td_shutdown, optional<JsonNull>, optional<lsp::Any>, "shutdown");