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

Method __init__

experiments/optimization/streams.py:140–145  ·  view source on GitHub ↗
(self, StreamReader)

Source from the content-addressed store, hash-verified

138
139class Protocol:
140 def __init__(self, StreamReader):
141 self.reader = StreamReader()
142 self.events = []
143 # Start parser coroutine
144 self.parser = self.run_parser()
145 next(self.parser)
146
147 def run_parser(self):
148 while True:

Callers

nothing calls this directly

Calls 2

run_parserMethod · 0.95
StreamReaderClass · 0.85

Tested by

no test coverage detected