proxy.http.websocket.frame 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.frame.WebsocketFrame[source]#
Bases:
object
Websocket frames parser and constructor.
- GUID = b'258EAFA5-E914-47DA-95CA-C5AB0DC85B11'#
- class proxy.http.websocket.frame.WebsocketOpcodes(CONTINUATION_FRAME, TEXT_FRAME, BINARY_FRAME, CONNECTION_CLOSE, PING, PONG)#
Bases:
tuple
- _asdict()#
Return a new dict which maps field names to their values.
- _field_defaults = {}#
- _fields = ('CONTINUATION_FRAME', 'TEXT_FRAME', 'BINARY_FRAME', 'CONNECTION_CLOSE', 'PING', 'PONG')#
- classmethod _make(iterable)#
Make a new WebsocketOpcodes object from a sequence or iterable
- _replace(**kwds)#
Return a new WebsocketOpcodes object replacing specified fields with new values