Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/nonebot/nonebot2
/ send_bytes
Method
send_bytes
nonebot/drivers/fastapi.py:305–306 ·
view source on GitHub ↗
(self, data: bytes)
Source
from the content-addressed store, hash-verified
303
304
@override
305
async
def
send_bytes(self, data: bytes) -> None:
306
await self.websocket.send({
"type"
:
"websocket.send"
,
"bytes"
: data})
307
308
309
__autodoc__ = {
"catch_closed"
: False}
Callers
nothing calls this directly
Calls
1
send
Method · 0.45
Tested by
no test coverage detected