{
    "log": {
        "version": "1.2",
        "creator": {
            "name": "mitmproxy",
            "version": "1.2.3",
            "comment": ""
        },
        "pages": [],
        "entries": [
            {
                "startedDateTime": "2023-08-29T13:03:20.195591+00:00",
                "time": 424.1049289703369,
                "request": {
                    "method": "GET",
                    "url": "https://demo.piesocket.com/v3/channel_123?api_key=VCXCEuvhGcBDP7XhiJJUDvR1e1D3eiVjgZ9VRiaV&notify_self",
                    "httpVersion": "HTTP/1.1",
                    "cookies": [
                        {
                            "name": "_ga",
                            "value": "GA1.1.636013294.1693303610"
                        },
                        {
                            "name": "_ga_MP49LGP298",
                            "value": "GS1.1.1693313101.3.1.1693314156.0.0.0"
                        }
                    ],
                    "headers": [
                        {
                            "name": "Host",
                            "value": "demo.piesocket.com"
                        },
                        {
                            "name": "Connection",
                            "value": "Upgrade"
                        },
                        {
                            "name": "Pragma",
                            "value": "no-cache"
                        },
                        {
                            "name": "Cache-Control",
                            "value": "no-cache"
                        },
                        {
                            "name": "User-Agent",
                            "value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36"
                        },
                        {
                            "name": "Upgrade",
                            "value": "websocket"
                        },
                        {
                            "name": "Origin",
                            "value": "https://www.piesocket.com"
                        },
                        {
                            "name": "Sec-WebSocket-Version",
                            "value": "13"
                        },
                        {
                            "name": "Accept-Encoding",
                            "value": "gzip, deflate, br"
                        },
                        {
                            "name": "Accept-Language",
                            "value": "en-US,en;q=0.9"
                        },
                        {
                            "name": "Cookie",
                            "value": "_ga=GA1.1.636013294.1693303610; _ga_MP49LGP298=GS1.1.1693313101.3.1.1693314156.0.0.0"
                        },
                        {
                            "name": "dnt",
                            "value": "1"
                        },
                        {
                            "name": "Sec-WebSocket-Key",
                            "value": "aOpK58kffMOGmH4do+rCyw=="
                        },
                        {
                            "name": "Sec-WebSocket-Extensions",
                            "value": "permessage-deflate; client_max_window_bits"
                        }
                    ],
                    "queryString": [
                        {
                            "name": "api_key",
                            "value": "VCXCEuvhGcBDP7XhiJJUDvR1e1D3eiVjgZ9VRiaV"
                        },
                        {
                            "name": "notify_self",
                            "value": ""
                        }
                    ],
                    "headersSize": 708,
                    "bodySize": 0
                },
                "response": {
                    "status": 101,
                    "statusText": "Switching Protocols",
                    "httpVersion": "HTTP/1.1",
                    "cookies": [],
                    "headers": [
                        {
                            "name": "Server",
                            "value": "nginx/1.22.0 (Ubuntu)"
                        },
                        {
                            "name": "Date",
                            "value": "Tue, 29 Aug 2023 13:03:20 GMT"
                        },
                        {
                            "name": "Connection",
                            "value": "upgrade"
                        },
                        {
                            "name": "Upgrade",
                            "value": "websocket"
                        },
                        {
                            "name": "Sec-WebSocket-Accept",
                            "value": "PKJZ27lf+8qSfJkNbj0Dn/cgI00="
                        },
                        {
                            "name": "X-Powered-By",
                            "value": "Ratchet/0.4.4"
                        }
                    ],
                    "content": {
                        "size": 0,
                        "compression": 0,
                        "mimeType": "",
                        "text": ""
                    },
                    "redirectURL": "",
                    "headersSize": 245,
                    "bodySize": 0
                },
                "cache": {},
                "timings": {
                    "connect": 165.79508781433105,
                    "ssl": 126.24692916870117,
                    "send": 3.5181045532226562,
                    "receive": 5.8460235595703125,
                    "wait": 122.69878387451172
                },
                "serverIPAddress": "143.244.202.177",
                "_resourceType": "websocket",
                "_webSocketMessages": [
                    {
                        "type": "receive",
                        "time": 1693314200.336985,
                        "opcode": 1,
                        "data": "{\"error\":\"Unknown api key\"}"
                    }
                ]
            },
            {
                "startedDateTime": "2023-08-29T13:03:30.145184+00:00",
                "time": 351.45115852355957,
                "request": {
                    "method": "GET",
                    "url": "https://demo.piesocket.com/v3/channel_123",
                    "httpVersion": "HTTP/1.1",
                    "cookies": [
                        {
                            "name": "_ga",
                            "value": "GA1.1.636013294.1693303610"
                        },
                        {
                            "name": "_ga_MP49LGP298",
                            "value": "GS1.1.1693313101.3.1.1693314209.0.0.0"
                        }
                    ],
                    "headers": [
                        {
                            "name": "Host",
                            "value": "demo.piesocket.com"
                        },
                        {
                            "name": "Connection",
                            "value": "Upgrade"
                        },
                        {
                            "name": "Pragma",
                            "value": "no-cache"
                        },
                        {
                            "name": "Cache-Control",
                            "value": "no-cache"
                        },
                        {
                            "name": "User-Agent",
                            "value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36"
                        },
                        {
                            "name": "Upgrade",
                            "value": "websocket"
                        },
                        {
                            "name": "Origin",
                            "value": "https://www.piesocket.com"
                        },
                        {
                            "name": "Sec-WebSocket-Version",
                            "value": "13"
                        },
                        {
                            "name": "Accept-Encoding",
                            "value": "gzip, deflate, br"
                        },
                        {
                            "name": "Accept-Language",
                            "value": "en-US,en;q=0.9"
                        },
                        {
                            "name": "Cookie",
                            "value": "_ga=GA1.1.636013294.1693303610; _ga_MP49LGP298=GS1.1.1693313101.3.1.1693314209.0.0.0"
                        },
                        {
                            "name": "dnt",
                            "value": "1"
                        },
                        {
                            "name": "Sec-WebSocket-Key",
                            "value": "0jHmrzSl0PCJeqxcc8C0Jg=="
                        },
                        {
                            "name": "Sec-WebSocket-Extensions",
                            "value": "permessage-deflate; client_max_window_bits"
                        }
                    ],
                    "queryString": [],
                    "headersSize": 708,
                    "bodySize": 0
                },
                "response": {
                    "status": 101,
                    "statusText": "Switching Protocols",
                    "httpVersion": "HTTP/1.1",
                    "cookies": [],
                    "headers": [
                        {
                            "name": "Server",
                            "value": "nginx/1.22.0 (Ubuntu)"
                        },
                        {
                            "name": "Date",
                            "value": "Tue, 29 Aug 2023 13:03:30 GMT"
                        },
                        {
                            "name": "Connection",
                            "value": "upgrade"
                        },
                        {
                            "name": "Upgrade",
                            "value": "websocket"
                        },
                        {
                            "name": "Sec-WebSocket-Accept",
                            "value": "Wwhjg4OlFHvFrMi/px8nDtVomBs="
                        },
                        {
                            "name": "X-Powered-By",
                            "value": "Ratchet/0.4.4"
                        }
                    ],
                    "content": {
                        "size": 0,
                        "compression": 0,
                        "mimeType": "",
                        "text": ""
                    },
                    "redirectURL": "",
                    "headersSize": 245,
                    "bodySize": 0
                },
                "cache": {},
                "timings": {
                    "connect": 108.87980461120605,
                    "ssl": 123.34632873535156,
                    "send": 2.778768539428711,
                    "receive": 2.521991729736328,
                    "wait": 113.92426490783691
                },
                "serverIPAddress": "143.244.202.177",
                "_resourceType": "websocket",
                "_webSocketMessages": [
                    {
                        "type": "receive",
                        "time": 1693314210.2705212,
                        "opcode": 1,
                        "data": "{\"error\":\"Missing apiKey\"}"
                    }
                ]
            },
            {
                "startedDateTime": "2023-08-29T13:03:52.266590+00:00",
                "time": 508.44621658325195,
                "request": {
                    "method": "GET",
                    "url": "https://demo.piesocket.com/v3/channel_123?api_key=VCXCEuvhGcBDP7XhiJJUDvR1e1D3eiVjgZ9VRiaV&notify_self",
                    "httpVersion": "HTTP/1.1",
                    "cookies": [
                        {
                            "name": "_ga",
                            "value": "GA1.1.636013294.1693303610"
                        },
                        {
                            "name": "_ga_MP49LGP298",
                            "value": "GS1.1.1693313101.3.1.1693314221.0.0.0"
                        }
                    ],
                    "headers": [
                        {
                            "name": "Host",
                            "value": "demo.piesocket.com"
                        },
                        {
                            "name": "Connection",
                            "value": "Upgrade"
                        },
                        {
                            "name": "Pragma",
                            "value": "no-cache"
                        },
                        {
                            "name": "Cache-Control",
                            "value": "no-cache"
                        },
                        {
                            "name": "User-Agent",
                            "value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36"
                        },
                        {
                            "name": "Upgrade",
                            "value": "websocket"
                        },
                        {
                            "name": "Origin",
                            "value": "https://www.piesocket.com"
                        },
                        {
                            "name": "Sec-WebSocket-Version",
                            "value": "13"
                        },
                        {
                            "name": "Accept-Encoding",
                            "value": "gzip, deflate, br"
                        },
                        {
                            "name": "Accept-Language",
                            "value": "en-US,en;q=0.9"
                        },
                        {
                            "name": "Cookie",
                            "value": "_ga=GA1.1.636013294.1693303610; _ga_MP49LGP298=GS1.1.1693313101.3.1.1693314221.0.0.0"
                        },
                        {
                            "name": "dnt",
                            "value": "1"
                        },
                        {
                            "name": "Sec-WebSocket-Key",
                            "value": "jYGzUBibPBT6k8EzhAjMwg=="
                        },
                        {
                            "name": "Sec-WebSocket-Extensions",
                            "value": "permessage-deflate; client_max_window_bits"
                        }
                    ],
                    "queryString": [
                        {
                            "name": "api_key",
                            "value": "VCXCEuvhGcBDP7XhiJJUDvR1e1D3eiVjgZ9VRiaV"
                        },
                        {
                            "name": "notify_self",
                            "value": ""
                        }
                    ],
                    "headersSize": 708,
                    "bodySize": 0
                },
                "response": {
                    "status": 101,
                    "statusText": "Switching Protocols",
                    "httpVersion": "HTTP/1.1",
                    "cookies": [],
                    "headers": [
                        {
                            "name": "Server",
                            "value": "nginx/1.22.0 (Ubuntu)"
                        },
                        {
                            "name": "Date",
                            "value": "Tue, 29 Aug 2023 13:03:52 GMT"
                        },
                        {
                            "name": "Connection",
                            "value": "upgrade"
                        },
                        {
                            "name": "Upgrade",
                            "value": "websocket"
                        },
                        {
                            "name": "Sec-WebSocket-Accept",
                            "value": "XCjji+8Ziem+CRE5RLW6lJe6T6E="
                        },
                        {
                            "name": "X-Powered-By",
                            "value": "Ratchet/0.4.4"
                        }
                    ],
                    "content": {
                        "size": 0,
                        "compression": 0,
                        "mimeType": "",
                        "text": ""
                    },
                    "redirectURL": "",
                    "headersSize": 245,
                    "bodySize": 0
                },
                "cache": {},
                "timings": {
                    "connect": 195.7991123199463,
                    "ssl": 143.0189609527588,
                    "send": 3.0930042266845703,
                    "receive": 4.317045211791992,
                    "wait": 162.2180938720703
                },
                "serverIPAddress": "143.244.202.177",
                "_resourceType": "websocket",
                "_webSocketMessages": [
                    {
                        "type": "receive",
                        "time": 1693314232.444319,
                        "opcode": 1,
                        "data": "{\"error\":\"Unknown api key\"}"
                    },
                    {
                        "type": "send",
                        "time": 1693314240.7948081,
                        "opcode": 1,
                        "data": "foo"
                    },
                    {
                        "type": "send",
                        "time": 1693314244.039395,
                        "opcode": 1,
                        "data": "bar"
                    }
                ]
            }
        ]
    }
}