Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/python-websockets/websockets
/ eof_received
Method
eof_received
src/websockets/cli.py:72–74 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
70
next(self.parser)
71
72
def
eof_received(self) -> None:
73
self.reader.feed_eof()
74
# next(self.parser) isn't useful and would raise EOFError.
75
76
def
connection_lost(self, exc: Exception | None) -> None:
77
self.reader.discard()
Callers
1
receive_eof
Method · 0.45
Calls
1
feed_eof
Method · 0.45
Tested by
1
receive_eof
Method · 0.36