proxy.core.connection.server 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.connection.server.TcpServerConnection(host: str, port: int)[source]#
Bases:
proxy.core.connection.connection.TcpConnection
A buffered server connection object.
- _abc_impl = <_abc._abc_data object>#
- _conn: Optional[TcpOrTlsSocket]#
- addr: HostPort#
- buffer: List[memoryview]#
- connect(addr: Optional[Tuple[str, int]] = None, source_address: Optional[Tuple[str, int]] = None) None [source]#
- property connection: Union[ssl.SSLSocket, socket.socket]#
Must return the socket connection to use in this class.