Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yuisanae2f/winserver
https://github.com/yuisanae2f/winserver
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/yuisanae2f/winserver
- Owner: yuisanae2f
- Created: 2024-07-10T15:02:47.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2024-07-10T16:00:06.000Z (6 months ago)
- Last Synced: 2024-11-08T14:25:22.967Z (about 2 months ago)
- Language: C++
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WinServer
> JSON throwing socket server only works on Windows.
> GET for reading, POST for writing# GET Method
## Path
> The path of the JSON to read.> Thinks only one: path
> Reads all data from path and toss it# POST Method
## Path
> The path of the JSON to write.## add method
0. Set
1. ListAppend
2. Remove## Parameters
> You must start with a letter `!`.> The first "arg" must be the length of the parameter vector.
> Then the parameter vector to parse would come.> The each element of the paramter may look like this:
```c
struct el_Parameter_ {
unsigned std::string Key;
}
```> The leftover bytes will be parsed as JSON to write.