2025-01-24T01:44:03

This commit is contained in:
2025-01-24 01:44:03 +09:00
parent 297ea8abaf
commit 3d30ee3192
68 changed files with 1128 additions and 1079 deletions

41
doc/etc/Json-Rpc.md Normal file
View File

@@ -0,0 +1,41 @@
# JSON-RPC
## 요청
```json
{
"jsonrpc": "2.0",
"method": "doSomething",
"params": {
...
},
"id": ...
}
```
## 응답
```json
{
"jsonrpc": "2.0",
"result" : {
...
},
"id": xxx
}
```
### 오류 응답
```json
{
"jsonrpc": "2.0",
"error" : {
"code": xx,
"message": "xxx"
},
"id": xxx
}
```
https://www.jsonrpc.org/