Mention WebSocket interface in docs

Replace old paragraph in the developing for clusterio document about the
removed HTTP interface with a notice of the new protocol running over
WebSocket.
This commit is contained in:
Hornwitser committed 2021-02-17 21:21:18 +01:00
1 parent 75dfc66e9a
commit 01e442c42e
1 file changed
+7 -5
+7 -5
View File
@@ -161,11 +161,13 @@ which accepts a table and calls `add_lib` for each value in the table.
Communicating with Clusterio Communicating with Clusterio
---------------------------- ----------------------------
There's a poorly to virtuarly undocumented HTTP interface that can be Clusterio uses a homebrew protocol based on sending JSON payloads over
used to communicate with Clusterio to do things like get the status of a WebSocket connection. See [socket.md](socket.md) for the
instances, grab items from the store, run commands on instances, etc, implementation details of it.
etc. For now you can read the source code, and maybe ask on the Discord
for some pointers if you get stuck. It's also possible to write a plugin for Clusterio that exposes a custom
interface over HTTP, WebSocket or any other technology supported by
Node.js.
Clusterio Modules Clusterio Modules