proxy.http.inspector.transformer module#

proxy.py#

⚡⚡⚡ Fast, Lightweight, Pluggable, TLS interception capable proxy server focused on Network monitoring, controls & Application development, testing, debugging.

copyright
  1. 2013-present by Abhinav Singh and contributors.

license

BSD, see LICENSE for more details.

class proxy.http.inspector.transformer.CoreEventsToDevtoolsProtocol[source]#

Bases: object

Open in Chrome

devtools://devtools/bundled/inspector.html?ws=localhost:8899/devtools

RESPONSES: Dict[str, bytes] = {}#
static request_complete(event: Dict[str, Any]) Dict[str, Any][source]#
static response_chunk_received(event: Dict[str, Any]) Dict[str, Any][source]#
static response_complete(event: Dict[str, Any]) Dict[str, Any][source]#
static response_headers_complete(event: Dict[str, Any]) Dict[str, Any][source]#
static transformer(client: HttpClientConnection, event: Dict[str, Any]) None[source]#