SimpleHttpProxy (version 0.0.2)
index
SimpleHttpProxy.py

This package implements a simple HTTP(S) proxy.

 
Classes
       
abc.ABC(builtins.object)
AbcHttpProxy

 
class AbcHttpProxy(abc.ABC)
    AbcHttpProxy(interface: str = '0.0.0.0', port: int = 8012, onlysecure: bool = False)
 
This class implements a base for TCP proxy.
 
 
Method resolution order:
AbcHttpProxy
abc.ABC
builtins.object

Methods defined here:
__init__(self, interface: str = '0.0.0.0', port: int = 8012, onlysecure: bool = False)
Initialize self.  See help(type(self)) for accurate signature.
start(self) -> None
This method start the proxy server.

Static methods defined here:
handle_request(data: bytes) -> Optional[bytes]
This method should implements the special behaviour
before sending client request to the server.
handle_response(data: bytes) -> Optional[bytes]
This method should implements the special behaviour
before sending server response to the client.

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Data and other attributes defined here:
__abstractmethods__ = frozenset({'handle_request', 'handle_response'})

 
Data
        __all__ = ['AbcHttpProxy']
__annotations__ = {'printable': <class 'bytes'>}
__author_email__ = 'mauricelambert434@gmail.com'
__copyright__ = '\nSimpleHttpProxy Copyright (C) 2021 Maurice La...ome to redistribute it\nunder certain conditions.\n'
__description__ = 'This package implements a simple HTTP(S) proxy.'
__license__ = 'GPL-3.0 License'
__maintainer__ = 'Maurice Lambert'
__maintainer_email__ = 'mauricelambert434@gmail.com'
__url__ = 'https://github.com/mauricelambert/SimpleHttpProxy'

 
Author
        Maurice Lambert