Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/aio-libs/aiohttp
/ go
Method
go
tests/test_web_websocket.py:76–79 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
74
75
@asyncio.coroutine
76
def
go():
77
ws = WebSocketResponse()
78
with
self.assertRaises(RuntimeError):
79
yield
from
ws.receive_str()
80
81
self.loop.run_until_complete(go())
82
Callers
nothing calls this directly
Calls
10
receive_str
Method · 0.95
receive_bytes
Method · 0.95
make_request
Method · 0.95
prepare
Method · 0.95
close
Method · 0.95
write_eof
Method · 0.95
WebSocketResponse
Class · 0.90
write_eof
Method · 0.45
receive
Method · 0.45
exception
Method · 0.45
Tested by
no test coverage detected