Home
last modified time | relevance | path

Searched refs:recv_bytes (Results 1 – 1 of 1) sorted by relevance

/unit/test/unit/applications/
H A Dwebsockets.py73 def recv_bytes(sock, bytes): function
93 (head1,) = struct.unpack('!B', recv_bytes(sock, 1))
94 (head2,) = struct.unpack('!B', recv_bytes(sock, 1))
105 data = recv_bytes(sock, 2)
108 data = recv_bytes(sock, 8)
112 mask_bits = recv_bytes(sock, 4)
117 data = recv_bytes(sock, length)