linol/lsp/Lsp/Cli/Channel/index.html
2024-05-08 15:15:46 +00:00

2 lines
2 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Channel (lsp.Lsp.Cli.Channel)</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">lsp</a> &#x00BB; <a href="../../index.html">Lsp</a> &#x00BB; <a href="../index.html">Cli</a> &#x00BB; Channel</nav><header class="odoc-preamble"><h1>Module <code><span>Cli.Channel</span></code></h1><p>The channel the server shold use to listen for connections</p></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span></code><ol><li id="type-t.Stdio" class="def variant constructor anchored"><a href="#type-t.Stdio" class="anchor"></a><code><span>| </span><span><span class="constructor">Stdio</span></span></code></li><li id="type-t.Pipe" class="def variant constructor anchored"><a href="#type-t.Pipe" class="anchor"></a><code><span>| </span><span><span class="constructor">Pipe</span> <span class="keyword">of</span> string</span></code><div class="def-doc"><span class="comment-delim">(*</span><p>A path to the unix domain socket or windows pipe</p><span class="comment-delim">*)</span></div></li><li id="type-t.Socket" class="def variant constructor anchored"><a href="#type-t.Socket" class="anchor"></a><code><span>| </span><span><span class="constructor">Socket</span> <span class="keyword">of</span> int</span></code><div class="def-doc"><span class="comment-delim">(*</span><p>A tcp connection on localhost with the port number</p><span class="comment-delim">*)</span></div></li></ol></div></div></div></body></html>