mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-02-21 18:15:50 +08:00
commit
15007feea7
@ -34,6 +34,9 @@ _✨ Python 异步机器人框架 ✨_
|
|||||||
<a href="https://jq.qq.com/?_wv=1027&k=5OFifDh">
|
<a href="https://jq.qq.com/?_wv=1027&k=5OFifDh">
|
||||||
<img src="https://img.shields.io/badge/qq%E7%BE%A4-768887710-orange?style=flat-square" alt="QQ Chat">
|
<img src="https://img.shields.io/badge/qq%E7%BE%A4-768887710-orange?style=flat-square" alt="QQ Chat">
|
||||||
</a>
|
</a>
|
||||||
|
<a href="https://discord.gg/VKtE6Gdc4h">
|
||||||
|
<img src="https://discordapp.com/api/guilds/847819937858584596/widget.png?style=shield" alt="Discord Chat">
|
||||||
|
</a>
|
||||||
<a href="https://t.me/cqhttp">
|
<a href="https://t.me/cqhttp">
|
||||||
<img src="https://img.shields.io/badge/telegram-chat-blue?style=flat-square" alt="Telegram Chat">
|
<img src="https://img.shields.io/badge/telegram-chat-blue?style=flat-square" alt="Telegram Chat">
|
||||||
</a>
|
</a>
|
||||||
|
@ -258,16 +258,30 @@ Reverse Driver 基类。将后端框架封装,以满足适配器使用。
|
|||||||
驱动 ASGI 对象
|
驱动 ASGI 对象
|
||||||
|
|
||||||
|
|
||||||
### _abstract async_ `_handle_http()`
|
### _abstract async_ `_handle_http(*args, **kwargs)`
|
||||||
|
|
||||||
用于处理 HTTP 类型请求的函数
|
用于处理 HTTP 类型请求的函数
|
||||||
|
|
||||||
|
|
||||||
### _abstract async_ `_handle_ws_reverse()`
|
### _abstract async_ `_handle_ws_reverse(*args, **kwargs)`
|
||||||
|
|
||||||
用于处理 WebSocket 类型请求的函数
|
用于处理 WebSocket 类型请求的函数
|
||||||
|
|
||||||
|
|
||||||
|
## _class_ `HTTPRequest`
|
||||||
|
|
||||||
|
基类:`object`
|
||||||
|
|
||||||
|
HTTP 请求封装。参考 [asgi http scope](https://asgi.readthedocs.io/en/latest/specs/www.html#http-connection-scope)。
|
||||||
|
|
||||||
|
|
||||||
|
## _class_ `HTTPResponse`
|
||||||
|
|
||||||
|
基类:`object`
|
||||||
|
|
||||||
|
HTTP 响应封装。参考 [asgi http scope](https://asgi.readthedocs.io/en/latest/specs/www.html#http-connection-scope)。
|
||||||
|
|
||||||
|
|
||||||
## _class_ `WebSocket`
|
## _class_ `WebSocket`
|
||||||
|
|
||||||
基类:`object`
|
基类:`object`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user