Home
last modified time | relevance | path

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

/unit/test/
H A Dtest_java_websockets.py401 def check_ping(payload, chopsize=None, decode=True): function
407 check_ping('') # 2_1
408 check_ping('Hello, world!') # 2_2
409 check_ping(b'\x00\xff\xfe\xfd\xfc\xfb\x00\xff', decode=False) # 2_3
410 check_ping(b'\xfe' * 125, decode=False) # 2_4
411 check_ping(b'\xfe' * 125, chopsize=1, decode=False) # 2_6
H A Dtest_node_websockets.py420 def check_ping(payload, chopsize=None, decode=True): function
426 check_ping('') # 2_1
427 check_ping('Hello, world!') # 2_2
428 check_ping(b'\x00\xff\xfe\xfd\xfc\xfb\x00\xff', decode=False) # 2_3
429 check_ping(b'\xfe' * 125, decode=False) # 2_4
430 check_ping(b'\xfe' * 125, chopsize=1, decode=False) # 2_6
H A Dtest_asgi_websockets.py474 def check_ping(payload, chopsize=None, decode=True): function
480 check_ping('') # 2_1
481 check_ping('Hello, world!') # 2_2
482 check_ping(b'\x00\xff\xfe\xfd\xfc\xfb\x00\xff', decode=False) # 2_3
483 check_ping(b'\xfe' * 125, decode=False) # 2_4
484 check_ping(b'\xfe' * 125, chopsize=1, decode=False) # 2_6