diff options
Diffstat (limited to 'src/lsp/json_rpc.h')
| -rw-r--r-- | src/lsp/json_rpc.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/lsp/json_rpc.h b/src/lsp/json_rpc.h index 363f425..98d7ec1 100644 --- a/src/lsp/json_rpc.h +++ b/src/lsp/json_rpc.h @@ -2,7 +2,14 @@ #ifndef JSON_RPC_H #define JSON_RPC_H -// Yeah, just this lol. +/** + * @brief Handle a raw JSON-RPC request string. + * + * Parses the request, routes it to the appropriate handler (initialize, textDocument/didChange, etc.), + * and sends back the response to stdout. + * + * @param json_str Null-terminated JSON request string. + */ void handle_request(const char *json_str); #endif |
