mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-23 22:54:10 -06:00
Deploying to gh-pages from @ Klipper3d/klipper@5d9ff75d02 🚀
This commit is contained in:
parent
c44100c831
commit
756de2ca94
69 changed files with 189 additions and 169 deletions
|
@ -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">¶</a></h2>
|
||||
<p>套接字进出的数据包应使用JSON编码的字符串,并以ASCII字符0x03作为结尾:</p>
|
||||
<div class="highlight"><pre><span></span><code><json_object_1><0x03><json_object_2><0x03>...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue