proxy.http.websocket package#
Submodules#
Module contents#
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.http.websocket.WebSocketTransportBasePlugin(flags: argparse.Namespace, client: HttpClientConnection, event_queue: proxy.core.event.queue.EventQueue)[source]#
Bases:
abc.ABC
Abstract class for plugins extending dashboard websocket API.
- _abc_impl = <_abc._abc_data object>#
- class proxy.http.websocket.WebsocketClient(hostname: bytes, port: int, path: bytes = b'/', on_message: Optional[Callable[[proxy.http.websocket.frame.WebsocketFrame], None]] = None)[source]#
Bases:
proxy.core.connection.connection.TcpConnection
Websocket client connection.
TODO: Make me compatible with the work framework.
- _abc_impl = <_abc._abc_data object>#
- property connection: Union[ssl.SSLSocket, socket.socket]#
Must return the socket connection to use in this class.