mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-11-24 17:15:05 +08:00
827 B
827 B
sidebar_position | description |
---|---|
3 | nonebot.drivers.httpx 模块 |
nonebot.drivers.httpx
HTTPX 驱动适配
nb driver install httpx
# 或者
pip install nonebot2[httpx]
:::tip 提示 本驱动仅支持客户端 HTTP 连接 :::
class Mixin(<auto>)
-
说明: HTTPX Mixin
-
参数
auto
async method request(setup)
method websocket(setup)
var Driver
-
类型: type[ForwardDriver]
-
说明: HTTPX Driver