proxy.http.websocket.client 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.http.websocket.client.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>#
- buffer: List[memoryview]#
- property connection: Union[ssl.SSLSocket, socket.socket]#
Must return the socket connection to use in this class.
- selector: selectors.DefaultSelector#
- sock: socket.socket#