Repository navigation
Expand file tree
/
Copy pathfeatures.json
More file actions
80 lines (80 loc) · 3.4 KB
/
Copy pathfeatures.json
File metadata and controls
80 lines (80 loc) · 3.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"$schema": "specs/gen/features.schema.json",
"features": [
{
"id": "name-hash",
"title": "name hash",
"description": "FNV-1a 64 of a wire format or framing name, as the handshake carries it"
},
{
"id": "handshake",
"title": "handshake",
"description": "the fixed 31-byte frame each side sends first: magic, version, IR hash, wire format, framing, capabilities"
},
{
"id": "envelope",
"title": "envelope",
"description": "a response's outcome: ok with a payload, an error ordinal with its body, or a provider fault"
},
{
"id": "framing-datagram",
"title": "datagram framing",
"description": "Comline's own binary framing of requests and responses"
},
{
"id": "framing-datagram2",
"title": "datagram@2 framing",
"description": "the datagram framing with a request/reply kind and a protocol number, for calls in both directions and several protocols on one connection"
},
{
"id": "framing-datagram3",
"title": "datagram@3 framing",
"description": "the datagram framing that addresses a call by its protocol's and function's wire numbers, both varints (calls = by_id); replies as datagram@2"
},
{
"id": "handshake-comline2",
"title": "comline@2 handshake",
"description": "the compatibility-checking handshake: its hello, answer and verdict messages, and its negotiation steps under every parameter, with every refusal reason"
},
{
"id": "stream",
"title": "stream framing",
"description": "frames on a byte stream (TCP, a pipe): each behind a u32 little-endian length prefix, refused over the limit, by default 16 MiB (16777216 bytes) in every runtime"
},
{
"id": "framing-jsonrpc",
"title": "JSON-RPC framing",
"description": "JSON-RPC 2.0 requests and responses, a fault as -32603"
},
{
"id": "format-json",
"title": "JSON wire format",
"description": "values as UTF-8 JSON: a struct as an object"
},
{
"id": "format-msgpack",
"title": "MessagePack wire format",
"description": "values as MessagePack: a struct as an array"
},
{
"id": "format-packed",
"title": "packed wire format",
"description": "values as packed@1: fixed-width fields back to back, varint lengths, no tags"
},
{
"id": "sizes-packed",
"title": "packed sizes",
"description": "how many bytes each kind of value takes in packed@1, each rule proven by values written to exactly its minimum and maximum"
},
{
"id": "sizes-msgpack",
"title": "MessagePack sizes",
"description": "how many bytes each kind of value takes in msgpack@1, each rule proven by values written to exactly its minimum and maximum"
},
{
"id": "sizes-json",
"title": "JSON sizes",
"description": "how many bytes each kind of value takes in json@1, each rule proven by values written to exactly its minimum and maximum, or by a declared upper bound"
}
]
}