5984c161c5
Changelog: Large profiles no longer crash; downloads trust core CAs
56 lines
1.0 KiB
JSON
56 lines
1.0 KiB
JSON
{
|
|
"methodCall": {
|
|
"id": "updateConfig#contract",
|
|
"method": "updateConfig",
|
|
"arguments": {
|
|
"mixed-port": 7890,
|
|
"allow-lan": true,
|
|
"ipv6": false,
|
|
"geo-auto-update": true,
|
|
"geo-update-interval": 24
|
|
}
|
|
},
|
|
"eventCall": {
|
|
"method": "message",
|
|
"arguments": [
|
|
{
|
|
"type": "loaded",
|
|
"data": "provider-a"
|
|
},
|
|
{
|
|
"type": "delay",
|
|
"data": {
|
|
"name": "proxy-a",
|
|
"url": "https://example.com",
|
|
"value": 42
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"successResponse": {
|
|
"id": "updateConfig#contract",
|
|
"result": ""
|
|
},
|
|
"structuredResponse": {
|
|
"id": "getTraffic#contract",
|
|
"result": {
|
|
"up": 12,
|
|
"down": 34
|
|
}
|
|
},
|
|
"spilledResponse": {
|
|
"id": "getConfig#spilled",
|
|
"result": null,
|
|
"file": "/home/responses/1234.json"
|
|
},
|
|
"errorResponse": {
|
|
"id": "getConfig#contract",
|
|
"result": null,
|
|
"error": {
|
|
"code": "core_error",
|
|
"message": "config not found",
|
|
"details": null
|
|
}
|
|
}
|
|
}
|