Files
FlClash/test/fixtures/core_protocol.json
T
chen08209 5984c161c5 fix(core): keep very large profiles from crashing the app
Changelog: Large profiles no longer crash; downloads trust core CAs
2026-10-16 22:54:53 +08:00

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
}
}
}