WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content
This repository was archived by the owner on Sep 29, 2018. It is now read-only.

WebSocket Basic

Code Hz edited this page May 11, 2018 · 1 revision

The address

We use the token to ensure that the server is not used maliciously. That means the address will be:

ws://{{-websocket}}/{{-token}}

If you need more security, please consider to use a reverse proxy like nginx (so that you can use wss protocol)

The protocol

The protocol is simple. just send command and receive the result.

Warning

The command result will be broadcast to all clients.

Clone this wiki locally