summaryrefslogtreecommitdiff
path: root/graphics/asymptote/LspCpp/include/LibLsp/lsp/general/shutdown.h
blob: 25713345037ae6277f0cbf89722dcdf79e910f7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once


#include "LibLsp/JsonRpc/lsResponseMessage.h"
#include "LibLsp/JsonRpc/RequestInMessage.h"

/**
 * The shutdown request is sent from the client to the server. It asks the
 * server to shutdown, 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.
 */

DEFINE_REQUEST_RESPONSE_TYPE(td_shutdown, optional<JsonNull>, optional<lsp::Any>, "shutdown");