summaryrefslogtreecommitdiff
path: root/graphics/asymptote/LspCpp/include/LibLsp/JsonRpc/RemoteEndPoint.h
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/asymptote/LspCpp/include/LibLsp/JsonRpc/RemoteEndPoint.h')
-rw-r--r--graphics/asymptote/LspCpp/include/LibLsp/JsonRpc/RemoteEndPoint.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/graphics/asymptote/LspCpp/include/LibLsp/JsonRpc/RemoteEndPoint.h b/graphics/asymptote/LspCpp/include/LibLsp/JsonRpc/RemoteEndPoint.h
index 4045098f1b..8d013bd889 100644
--- a/graphics/asymptote/LspCpp/include/LibLsp/JsonRpc/RemoteEndPoint.h
+++ b/graphics/asymptote/LspCpp/include/LibLsp/JsonRpc/RemoteEndPoint.h
@@ -13,6 +13,7 @@
#include "LibLsp/JsonRpc/MessageJsonHandler.h"
#include "Endpoint.h"
#include "future.h"
+#include "MessageProducer.h"
class MessageJsonHandler;
@@ -125,7 +126,9 @@ public:
RemoteEndPoint(const std::shared_ptr <MessageJsonHandler>& json_handler,
const std::shared_ptr < Endpoint >& localEndPoint,
- lsp::Log& _log, uint8_t max_workers = 2);
+ lsp::Log& _log,
+ lsp::JSONStreamStyle style = lsp::JSONStreamStyle::Standard,
+ uint8_t max_workers = 2);
~RemoteEndPoint() override;
template <typename F, typename RequestType = ParamType<F, 0>, typename ResponseType = typename RequestType::Response>