MCPcopy Create free account
hub / github.com/apache/httpd / parse

Method parse

test/pyhttpd/ws_util.py:132–137  ·  view source on GitHub ↗
(cls, data: bytes)

Source from the content-addressed store, hash-verified

130
131 @classmethod
132 def parse(cls, data: bytes):
133 frames = []
134 reader = WsFrameReader(data=data)
135 while not reader.eof():
136 frames.append(reader.next_frame())
137 return frames

Callers 2

ws_runFunction · 0.80

Calls 3

eofMethod · 0.95
next_frameMethod · 0.95
WsFrameReaderClass · 0.85

Tested by 1

ws_runFunction · 0.64