summaryrefslogtreecommitdiff
path: root/lsp.h
diff options
context:
space:
mode:
Diffstat (limited to 'lsp.h')
-rw-r--r--lsp.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/lsp.h b/lsp.h
index b1e8496..88a1478 100644
--- a/lsp.h
+++ b/lsp.h
@@ -868,8 +868,11 @@ typedef struct {
void process_message(LSP *lsp, JSON *json);
-void write_request(LSP *lsp, LSPRequest *request);
-void write_message(LSP *lsp, LSPMessage *message);
+/// write request to string builder
+void write_request(LSP *lsp, LSPRequest *request, StrBuilder *builder);
+void write_message(LSP *lsp, LSPMessage *message, StrBuilder *builder);
+/// send request without any kind of batching. don't use this often.
+void lsp_send_request_direct(LSP *lsp, LSPRequest *request);
void lsp_request_free(LSPRequest *r);
void lsp_response_free(LSPResponse *r);