proxy.core.work.task.local module#
proxy.py#
⚡⚡⚡ Fast, Lightweight, Pluggable, TLS interception capable proxy server focused on Network monitoring, controls & Application development, testing, debugging.
- copyright
2013-present by Abhinav Singh and contributors.
- license
BSD, see LICENSE for more details.
- class proxy.core.work.task.local.LocalTaskExecutor(*args: Any, **kwargs: Any)[source]#
Bases:
proxy.core.work.local.BaseLocalExecutor
We’ll define a local executor which is capable of receiving log lines over a non blocking queue.
- _abc_impl = <_abc._abc_data object>#
- _loop: Optional[asyncio.AbstractEventLoop]#
- _upstream_conn_pool: Optional['UpstreamConnectionPool']#
- selector: Optional[selectors.DefaultSelector]#
- unfinished: Set['asyncio.Task[bool]']#
- class proxy.core.work.task.local.ThreadedTaskExecutor(**kwargs: Any)[source]#
Bases:
threading.Thread
- run() None [source]#
Method representing the thread’s activity.
You may override this method in a subclass. The standard run() method invokes the callable object passed to the object’s constructor as the target argument, if any, with sequential and keyword arguments taken from the args and kwargs arguments, respectively.