proxy.core.work.task.remote 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.core.work.task.remote.RemoteTaskExecutor(*args: Any, **kwargs: Any)[source]#

Bases: proxy.core.work.remote.BaseRemoteExecutor

_abc_impl = <_abc._abc_data object>#
_loop: Optional[asyncio.AbstractEventLoop]#
_total: int#
_upstream_conn_filenos: Set[int]#
_upstream_conn_pool: Optional['UpstreamConnectionPool']#
cleanup_inactive_timeout: float#
registered_events_by_work_ids: Dict[int, SelectableEvents]#
selector: Optional[selectors.DefaultSelector]#
unfinished: Set['asyncio.Task[bool]']#
wait_timeout: float#
work(*args: Any) None[source]#
works: Dict[int, 'Work[Any]']#
class proxy.core.work.task.remote.SingleProcessTaskExecutor(**kwargs: Any)[source]#

Bases: multiprocessing.context.Process

run() None[source]#

Method to be run in sub-process; can be overridden in sub-class