MCPcopy Create free account
hub / github.com/python-websockets/websockets / decode

Method decode

tests/legacy/test_framing.py:168–169  ·  view source on GitHub ↗
(frame, *, max_size=None)

Source from the content-addressed store, hash-verified

166 # This extensions is symmetrical.
167 @staticmethod
168 def decode(frame, *, max_size=None):
169 return Rot13.encode(frame)
170
171 self.round_trip(
172 b"\x81\x05uryyb", Frame(True, OP_TEXT, b"hello"), extensions=[Rot13()]

Callers

nothing calls this directly

Calls 1

encodeMethod · 0.45

Tested by

no test coverage detected