Skip to main content

SYSTEM_HELLO_RESPONSE_JSON

Constant SYSTEM_HELLO_RESPONSE_JSON 

Source
pub const SYSTEM_HELLO_RESPONSE_JSON: &str = "{\n  \"jsonrpc\": \"2.0\",\n  \"id\": \"hello-1\",\n  \"result\": {\n    \"connectionId\": \"00000000-0000-0000-0000-000000000000\",\n    \"protocol\": {\n      \"selected\": {\n        \"major\": 1,\n        \"minor\": 5\n      }\n    },\n    \"server\": {\n      \"name\": \"devicerail-daemon\",\n      \"version\": \"0.1.0\"\n    },\n    \"transport\": {\n      \"kind\": \"stdio\",\n      \"framing\": \"ndjson\"\n    },\n    \"features\": {\n      \"enabled\": [\n        \"action.protected.v1\",\n        \"device.routing.v1\",\n        \"device.semanticActions.v1\",\n        \"events.snapshot.v1\",\n        \"events.stream.v1\",\n        \"media.stream.v1\",\n        \"observation.uiSnapshot.v1\",\n        \"request.control.v1\",\n        \"session.export.page.v1\",\n        \"verdict.record.v1\"\n      ]\n    }\n  }\n}\n";
Expand description

Canonical system.hello response fixture.