diff options
| author | Zuhaitz Méndez Fernández de Aránguiz <zuhaitz@debian> | 2026-01-26 02:23:19 +0000 |
|---|---|---|
| committer | Zuhaitz Méndez Fernández de Aránguiz <zuhaitz@debian> | 2026-01-26 02:23:19 +0000 |
| commit | 894e4c69cc10242fc49bcaadf76b672607867d67 (patch) | |
| tree | 426fa1ae0d21594e9f44a0db153c182eadf46cbd /src/lsp/json_rpc.h | |
| parent | 98cc55d6fce0327b35030e167e2bc9411321737e (diff) | |
Improved doxygen docs
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 |
