mirror of
https://github.com/c-cube/linol.git
synced 2025-12-06 03:05:31 -05:00
9 lines
3.5 KiB
HTML
9 lines
3.5 KiB
HTML
<!DOCTYPE html>
|
||
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>base_server (linol-lwt.Linol_lwt.Jsonrpc2.base_server)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 2.4.2"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> – <a href="../../../index.html">linol-lwt</a> » <a href="../../index.html">Linol_lwt</a> » <a href="../index.html">Jsonrpc2</a> » base_server</nav><header class="odoc-preamble"><h1>Class <code><span>Jsonrpc2.base_server</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec method anchored" id="method-must_quit"><a href="#method-must_quit" class="anchor"></a><code><span><span class="keyword">method</span> must_quit : bool</span></code></div></div><div class="odoc-spec"><div class="spec method anchored" id="method-on_notification"><a href="#method-on_notification" class="anchor"></a><code><span><span class="keyword">method</span> on_notification : <span><span class="label">notify_back</span>:<span>(<span><a href="../../../../lsp/Lsp__/Server_notification/index.html#type-t">Lsp.Server_notification.t</a> <span class="arrow">-></span></span> <span>unit <a href="../IO/index.html#type-t">IO.t</a></span>)</span> <span class="arrow">-></span></span>
|
||
<span><span class="label">server_request</span>:<a href="../index.html#type-send_request">send_request</a> <span class="arrow">-></span></span>
|
||
<span><a href="../../../../lsp/Lsp__/Client_notification/index.html#type-t">Lsp.Client_notification.t</a> <span class="arrow">-></span></span>
|
||
<span>unit <a href="../IO/index.html#type-t">IO.t</a></span></span></code></div></div><div class="odoc-spec"><div class="spec method anchored" id="method-on_request"><a href="#method-on_request" class="anchor"></a><code><span><span class="keyword">method</span> on_request : 'a. <span><span class="label">notify_back</span>:<span>(<span><a href="../../../../lsp/Lsp__/Server_notification/index.html#type-t">Lsp.Server_notification.t</a> <span class="arrow">-></span></span> <span>unit <a href="../IO/index.html#type-t">IO.t</a></span>)</span> <span class="arrow">-></span></span>
|
||
<span><span class="label">server_request</span>:<a href="../index.html#type-send_request">send_request</a> <span class="arrow">-></span></span>
|
||
<span><span class="label">id</span>:<a href="../Req_id/index.html#type-t">Req_id.t</a> <span class="arrow">-></span></span>
|
||
<span><span><span class="type-var">'a</span> <a href="../../../../lsp/Lsp__/Client_request/index.html#type-t">Lsp.Client_request.t</a></span> <span class="arrow">-></span></span>
|
||
<span><span><span>(<span class="type-var">'a</span>, string)</span> <a href="../../../../ocaml/Stdlib/index.html#type-result">result</a></span> <a href="../IO/index.html#type-t">IO.t</a></span></span></code></div></div><div class="odoc-spec"><div class="spec method anchored" id="method-spawn_query_handler"><a href="#method-spawn_query_handler" class="anchor"></a><code><span><span class="keyword">method</span> spawn_query_handler : <span><span>(<span>unit <span class="arrow">-></span></span> <span>unit <a href="../IO/index.html#type-t">IO.t</a></span>)</span> <span class="arrow">-></span></span> unit</span></code></div></div></div></body></html>
|