Deploying to gh-pages from @ Klipper3d/klipper@d9daeb0803 🚀

This commit is contained in:
KevinOConnor
2022-04-29 00:04:01 +00:00
parent 6ae53d06a1
commit 4e91ef87f4
27 changed files with 787 additions and 318 deletions

View File

@@ -1592,6 +1592,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>
<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;...