summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/LspCpp/include/LibLsp/JsonRpc/message.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/asymptote/LspCpp/include/LibLsp/JsonRpc/message.h')
-rw-r--r--Build/source/utils/asymptote/LspCpp/include/LibLsp/JsonRpc/message.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/Build/source/utils/asymptote/LspCpp/include/LibLsp/JsonRpc/message.h b/Build/source/utils/asymptote/LspCpp/include/LibLsp/JsonRpc/message.h
index 6603f3fb3a2..57f4932520d 100644
--- a/Build/source/utils/asymptote/LspCpp/include/LibLsp/JsonRpc/message.h
+++ b/Build/source/utils/asymptote/LspCpp/include/LibLsp/JsonRpc/message.h
@@ -9,26 +9,26 @@
struct LspMessage
{
public:
- std::string jsonrpc = "2.0";
- virtual void ReflectWriter(Writer&) = 0;
-
- // Send the message to the language client by writing it to stdout.
- void Write(std::ostream& out);
-
-
- virtual MethodType GetMethodType() const = 0;
- virtual void SetMethodType(MethodType) = 0;
-
- virtual ~LspMessage()=default;
- enum Kind
- {
- REQUEST_MESSAGE,
- RESPONCE_MESSAGE,
- NOTIFICATION_MESSAGE
- };
-
- virtual Kind GetKid() = 0;
- virtual std::string ToJson() ;
-
+ std::string jsonrpc = "2.0";
+ virtual void ReflectWriter(Writer&) = 0;
+
+ // Send the message to the language client by writing it to stdout.
+ void Write(std::ostream& out);
+
+
+ virtual MethodType GetMethodType() const = 0;
+ virtual void SetMethodType(MethodType) = 0;
+
+ virtual ~LspMessage()=default;
+ enum Kind
+ {
+ REQUEST_MESSAGE,
+ RESPONCE_MESSAGE,
+ NOTIFICATION_MESSAGE
+ };
+
+ virtual Kind GetKid() = 0;
+ virtual std::string ToJson() ;
+
};