2022-01-22 15:23:07 +08:00
|
|
|
"""本模块定义了驱动适配器基类。
|
|
|
|
|
|
|
|
各驱动请继承以下基类。
|
2020-10-10 23:40:01 +08:00
|
|
|
|
2022-01-22 15:23:07 +08:00
|
|
|
FrontMatter:
|
2024-10-22 10:33:48 +08:00
|
|
|
mdx:
|
|
|
|
format: md
|
2022-01-22 15:23:07 +08:00
|
|
|
sidebar_position: 0
|
|
|
|
description: nonebot.drivers 模块
|
2020-10-10 23:40:01 +08:00
|
|
|
"""
|
2020-07-04 22:51:10 +08:00
|
|
|
|
2022-02-06 17:08:11 +08:00
|
|
|
from nonebot.internal.driver import URL as URL
|
2023-08-26 11:03:24 +08:00
|
|
|
from nonebot.internal.driver import ASGIMixin as ASGIMixin
|
2024-12-01 12:31:11 +08:00
|
|
|
from nonebot.internal.driver import Cookies as Cookies
|
|
|
|
from nonebot.internal.driver import Driver as Driver
|
2022-02-06 14:52:50 +08:00
|
|
|
from nonebot.internal.driver import ForwardDriver as ForwardDriver
|
2024-12-01 12:31:11 +08:00
|
|
|
from nonebot.internal.driver import ForwardMixin as ForwardMixin
|
2023-08-26 11:03:24 +08:00
|
|
|
from nonebot.internal.driver import HTTPClientMixin as HTTPClientMixin
|
2024-04-05 21:11:05 +08:00
|
|
|
from nonebot.internal.driver import HTTPClientSession as HTTPClientSession
|
2024-12-01 12:31:11 +08:00
|
|
|
from nonebot.internal.driver import HTTPServerSetup as HTTPServerSetup
|
|
|
|
from nonebot.internal.driver import HTTPVersion as HTTPVersion
|
|
|
|
from nonebot.internal.driver import Mixin as Mixin
|
|
|
|
from nonebot.internal.driver import Request as Request
|
|
|
|
from nonebot.internal.driver import Response as Response
|
|
|
|
from nonebot.internal.driver import ReverseDriver as ReverseDriver
|
|
|
|
from nonebot.internal.driver import ReverseMixin as ReverseMixin
|
|
|
|
from nonebot.internal.driver import WebSocket as WebSocket
|
2023-08-26 11:03:24 +08:00
|
|
|
from nonebot.internal.driver import WebSocketClientMixin as WebSocketClientMixin
|
2022-02-06 17:08:11 +08:00
|
|
|
from nonebot.internal.driver import WebSocketServerSetup as WebSocketServerSetup
|
2024-12-01 12:31:11 +08:00
|
|
|
from nonebot.internal.driver import combine_driver as combine_driver
|
2022-02-06 14:52:50 +08:00
|
|
|
|
|
|
|
__autodoc__ = {
|
|
|
|
"URL": True,
|
|
|
|
"Cookies": True,
|
|
|
|
"Request": True,
|
|
|
|
"Response": True,
|
|
|
|
"WebSocket": True,
|
|
|
|
"HTTPVersion": True,
|
2023-08-26 11:03:24 +08:00
|
|
|
"Driver": True,
|
|
|
|
"Mixin": True,
|
2022-02-06 14:52:50 +08:00
|
|
|
"ForwardMixin": True,
|
|
|
|
"ForwardDriver": True,
|
2023-08-26 11:03:24 +08:00
|
|
|
"HTTPClientMixin": True,
|
|
|
|
"WebSocketClientMixin": True,
|
|
|
|
"ReverseMixin": True,
|
2022-02-06 14:52:50 +08:00
|
|
|
"ReverseDriver": True,
|
2023-08-26 11:03:24 +08:00
|
|
|
"ASGIMixin": True,
|
2022-02-06 14:52:50 +08:00
|
|
|
"combine_driver": True,
|
|
|
|
"HTTPServerSetup": True,
|
|
|
|
"WebSocketServerSetup": True,
|
|
|
|
}
|