Home
last modified time | relevance | path

Searched refs:serialize_close (Results 1 – 4 of 4) sorted by last modified time

/unit/test/unit/applications/
H A Dwebsockets.py69 def serialize_close(self, code=1000, reason=''): member in TestApplicationWebsocket
/unit/test/
H A Dtest_java_websockets.py26 self.ws.frame_write(sock, self.ws.OP_CLOSE, self.ws.serialize_close())
1071 self.ws.frame_write(sock, self.ws.OP_CLOSE, self.ws.serialize_close())
1072 self.ws.frame_write(sock, self.ws.OP_CLOSE, self.ws.serialize_close())
1080 self.ws.frame_write(sock, self.ws.OP_CLOSE, self.ws.serialize_close())
1092 self.ws.frame_write(sock, self.ws.OP_CLOSE, self.ws.serialize_close())
1153 payload = self.ws.serialize_close(reason='Hello World!')
1162 payload = self.ws.serialize_close(reason='*' * 123)
1171 payload = self.ws.serialize_close(reason='*' * 124)
1210 payload = self.ws.serialize_close(code=code)
1218 payload = self.ws.serialize_close(code=code)
[all …]
H A Dtest_node_websockets.py26 self.ws.frame_write(sock, self.ws.OP_CLOSE, self.ws.serialize_close())
1090 self.ws.frame_write(sock, self.ws.OP_CLOSE, self.ws.serialize_close())
1091 self.ws.frame_write(sock, self.ws.OP_CLOSE, self.ws.serialize_close())
1099 self.ws.frame_write(sock, self.ws.OP_CLOSE, self.ws.serialize_close())
1111 self.ws.frame_write(sock, self.ws.OP_CLOSE, self.ws.serialize_close())
1172 payload = self.ws.serialize_close(reason='Hello World!')
1181 payload = self.ws.serialize_close(reason='*' * 123)
1190 payload = self.ws.serialize_close(reason='*' * 124)
1229 payload = self.ws.serialize_close(code=code)
1237 payload = self.ws.serialize_close(code=code)
[all …]
H A Dtest_asgi_websockets.py32 self.ws.frame_write(sock, self.ws.OP_CLOSE, self.ws.serialize_close())
1144 self.ws.frame_write(sock, self.ws.OP_CLOSE, self.ws.serialize_close())
1145 self.ws.frame_write(sock, self.ws.OP_CLOSE, self.ws.serialize_close())
1153 self.ws.frame_write(sock, self.ws.OP_CLOSE, self.ws.serialize_close())
1165 self.ws.frame_write(sock, self.ws.OP_CLOSE, self.ws.serialize_close())
1226 payload = self.ws.serialize_close(reason='Hello World!')
1235 payload = self.ws.serialize_close(reason='*' * 123)
1244 payload = self.ws.serialize_close(reason='*' * 124)
1283 payload = self.ws.serialize_close(code=code)
1291 payload = self.ws.serialize_close(code=code)
[all …]