pingsock
v1.1.0
Published
Ping Pong Websocket
Downloads
227
Readme
Pingsock
About
A simple WebSocket test server
Syntax
This server is equipped with "client ids" which are specially assigned UUIDs for the particular client.
To complete an "action", then you must use this syntax:action:args:client
Explaination:
- Action: The action to do (i.e. kick)
- Args: Command specific arguments
- Client: The ID of the client executing the command.
Commands
- Kick: Disconnect a client.
- Arguments
- Target: The target to kick
- Errors
error:clientnotfound: Returned when target is not found.
- Returns
- Nothing
- Arguments
- Ping: Ping the server.
- Arguments
- None
- Errors
- None
- Returns
- Always returns
pong
- Always returns
- Arguments
