Skip to content

Instantly share code, notes, and snippets.

@Jxck
Last active August 21, 2018 11:02
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Jxck/7ff6db8eab6b8c812a2f to your computer and use it in GitHub Desktop.
Save Jxck/7ff6db8eab6b8c812a2f to your computer and use it in GitHub Desktop.
h2 supported json proposal
{
"log": {
"version": "1.x",
"creator": { },
"pages": [
{
"startedDateTime": "2015-07-14T00:43:05.821Z",
"id": "page_1",
"title": "https://example.com/",
"pageTimings": { }
}
],
"entries": [
{
"startedDateTime": "2015-07-14T00:43:05.821Z",
"time": 288.5760000208393,
"request": { },
"response": { },
"cache": {},
"timings": { },
"connection": "356418",
"pageref": "page_1"
},
{
"startedDateTime": "2015-07-14T00:43:06.167Z",
"time": 339.1340000089258,
"request": { },
"response": { },
"cache": {},
"timings": { },
"connection": "356418",
"pageref": "page_1"
}
],
"connections": [
{
"connection_id": "356418",
"frames": [
{
"startedDateTime": "2015-07-14T00:43:06.167Z",
"time": 339.1340000089258,
"frame": {
"length": 20,
"type": "HEADERS",
"flags": [
"END_HEADER"
],
"stream_identifier": 1,
"frame_payload": {
"stream_dependency": null,
"weight": null,
"header_block_fragment": "HPACKED hex string",
"pad_length": null,
"exclusive": null,
"padding": null
}
}
},
{
"startedDateTime": "2015-07-14T00:43:06.167Z",
"time": 339.1340000089258,
"frame": {
"length": 20,
"type": "DATA",
"flags": [
"END_STREAM"
],
"stream_identifier": 2,
"frame_payload": {
"data": "hex string of data",
"pad_length": 6,
"padding": "xxxxx"
}
}
}
]
},
{
"connection_id": "356419",
"frames": []
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment