Deploying to gh-pages from @ Klipper3d/klipper@5d9ff75d02 🚀

This commit is contained in:
KevinOConnor 2022-09-01 18:54:09 +00:00
parent c44100c831
commit 756de2ca94
69 changed files with 189 additions and 169 deletions

View file

@ -1627,7 +1627,7 @@
</code></pre></div>
<p>上述操作会使主机创建一个Unix本地套接字。之后客户应用程序可以创建一个套接字链接从而给Klipper发送命令。</p>
<p>See the <a href="https://github.com/Arksine/moonraker">Moonraker</a> project for a popular tool that can forward HTTP requests to Klipper's API Server Unix Domain Socket.</p>
<p>参见<a href="https://github.com/Arksine/moonraker">Moonraker</a>项目该项目是一个流行的工具可以将HTTP请求转发到Klipper的API服务器Unix域插座。</p>
<h2 id="_1">请求格式<a class="headerlink" href="#_1" title="Permanent link">&para;</a></h2>
<p>套接字进出的数据包应使用JSON编码的字符串并以ASCII字符0x03作为结尾</p>
<div class="highlight"><pre><span></span><code>&lt;json_object_1&gt;&lt;0x03&gt;&lt;json_object_2&gt;&lt;0x03&gt;...