Source code for proxy.core.work.task.task
# -*- coding: utf-8 -*-
"""
proxy.py
~~~~~~~~
⚡⚡⚡ Fast, Lightweight, Pluggable, TLS interception capable proxy server focused on
Network monitoring, controls & Application development, testing, debugging.
:copyright: (c) 2013-present by Abhinav Singh and contributors.
:license: BSD, see LICENSE for more details.
"""
[docs]class Task:
"""Task object which known how to process the payload."""
def __init__(self, payload: bytes) -> None:
self.payload = payload
print(payload)