https://github.com/animify/serverclient
Client to server communication
https://github.com/animify/serverclient
Last synced: 2 months ago
JSON representation
Client to server communication
- Host: GitHub
- URL: https://github.com/animify/serverclient
- Owner: animify
- Created: 2015-03-16T17:55:49.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-03-16T18:03:16.000Z (over 11 years ago)
- Last Synced: 2025-03-11T04:43:16.007Z (over 1 year ago)
- Language: C#
- Size: 164 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.txt
Awesome Lists containing this project
README
-------------------------------------------------------------------------------
1. Open up console in the debug folder (Executable: Client > MyClientN > MyClientN > bin > debug > location.exe)
2. Start up the server under the debug folder (Executable: Server > respond > respond > bin > debug > locationserver.exe)
3. Call commands via the client console by writing "location" then the command you want to execute.
-------------------------------------------------------------------------------
Console commands available:
> Commands specified in <...> are parameters and should be used without <...>
> Commands specified as <...>/<...> are which parameters are available to the user, but one from the options have to be used
- location name location [adds/updates location for the name specified]
- location name [retrieves the location for the name specified]
- location name location [you can use the HEADERS -h0,-h9,-h1 for each respective responses to add/update the location for the name specified]
- location name [you can use the -h0,-h9,-h1 for each respective responses to get the location for the name specified]
- location GET /name [gets the name's location in 0.9 protocol]
- location GET /name / [gets the name's location in either 1.0 or 1.1 protocol]
- location PUT /name locaiton [adds/updates location in 0.9 protocol]
- location POST /name / location [adds/updates the location in 1.0 or 1.1 protocol]
-------------------------------------------------------------------------------
Client and server logs are stored in their respectable debug folders
Client log - Client > MyClientN > MyClientN > bin > debug > clientlog.txt
Server log - Server > respond > respond > bin > debug > serverlog.txt
Stored in the format: [h:mm:ss tt] [Server/Client]: TEXT