Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python-websockets/websockets
/ send_eof
Method
send_eof
src/websockets/protocol.py:763–768 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
761
)
762
763
def
send_eof(self) -> None:
764
assert not self.eof_sent
765
self.eof_sent = True
766
if
self.debug:
767
self.logger.debug(
"> EOF"
)
768
self.writes.append(SEND_EOF)
Callers
8
fail
Method · 0.95
discard
Method · 0.95
recv_frame
Method · 0.95
test_client_failed_connecting
Method · 0.95
test_server_failed_connecting
Method · 0.95
parse
Method · 0.80
send_response
Method · 0.80
parse
Method · 0.80
Calls
1
append
Method · 0.80
Tested by
2
test_client_failed_connecting
Method · 0.76
test_server_failed_connecting
Method · 0.76