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