Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/python-websockets/websockets
/ ping
Method
ping
tests/legacy/test_protocol.py:1320–1321 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1318
self.restart_protocol_with_keepalive_ping()
1319
1320
async
def
ping():
1321
raise
Exception(
"BOOM"
)
1322
1323
self.protocol.ping = ping
1324
Callers
15
test_ping
Method · 0.45
test_ping_explicit_text
Method · 0.45
test_ping_explicit_binary
Method · 0.45
test_acknowledge_ping
Method · 0.45
test_acknowledge_canceled_ping
Method · 0.45
test_acknowledge_ping_non_matching_pong
Method · 0.45
test_acknowledge_previous_ping
Method · 0.45
test_acknowledge_previous_canceled_ping
Method · 0.45
test_terminate_ping_on_close
Method · 0.45
test_ping_duplicate_payload
Method · 0.45
test_ping_unsupported_type
Method · 0.45
test_writing_in_data_received_fails
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected