MCPcopy Index your code
hub / github.com/python-websockets/websockets / Opcode

Class Opcode

src/websockets/frames.py:38–42  ·  view source on GitHub ↗

Opcode values for WebSocket frames.

Source from the content-addressed store, hash-verified

36
37
38class Opcode(enum.IntEnum):
39 """Opcode values for WebSocket frames."""
40
41 CONT, TEXT, BINARY = 0x00, 0x01, 0x02
42 CLOSE, PING, PONG = 0x08, 0x09, 0x0A
43
44
45OP_CONT = Opcode.CONT

Callers 2

parseMethod · 0.85
write_frame_syncMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…