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

Method receive_frame

tests/legacy/test_protocol.py:141–148  ·  view source on GitHub ↗

Make the protocol receive a frame.

(self, frame)

Source from the content-addressed store, hash-verified

139 )
140
141 def receive_frame(self, frame):
142 """
143 Make the protocol receive a frame.
144
145 """
146 write = self.protocol.data_received
147 mask = not self.protocol.is_client
148 frame.write(write, mask=mask)
149
150 def receive_eof(self):
151 """

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected