⚡⚡⚡ Fast, Lightweight, Pluggable, TLS interception capable proxy server focused on Network monitoring, controls & Application development, testing, debugging.
2013-present by Abhinav Singh and contributors.
BSD, see LICENSE for more details.
- class proxy.proxy.Proxy(input_args: Optional[List[str]] = None, **opts: Any)#
Proxy is a context manager to control proxy.py library core.
AcceptorPoolis started with
HttpProtocolHandlerwork class. By definition, it expects HTTP traffic to flow between clients and server.
--threadlessmode and without
ThreadlessPoolis also started. Executor pool receives newly accepted work by
Acceptorand creates an instance of work class for processing the received work.
--threadlessmode and with
--local-executor 0, acceptors will start a companion thread to handle accepted client connections.
Optionally, Proxy class also initializes the EventManager. A multi-process safe pubsub system which can be used to build various patterns for message sharing and/or signaling.