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:
|
|
|
|
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 14:52:50 +08:00
|
|
|
from nonebot.internal.model import URL as URL
|
|
|
|
from nonebot.internal.driver import Driver as Driver
|
|
|
|
from nonebot.internal.model import Cookies as Cookies
|
|
|
|
from nonebot.internal.model import Request as Request
|
|
|
|
from nonebot.internal.model import Response as Response
|
|
|
|
from nonebot.internal.model import WebSocket as WebSocket
|
|
|
|
from nonebot.internal.model import HTTPVersion as HTTPVersion
|
|
|
|
from nonebot.internal.driver import ForwardMixin as ForwardMixin
|
|
|
|
from nonebot.internal.driver import ForwardDriver as ForwardDriver
|
|
|
|
from nonebot.internal.driver import ReverseDriver as ReverseDriver
|
|
|
|
from nonebot.internal.driver import combine_driver as combine_driver
|
|
|
|
from nonebot.internal.model import HTTPServerSetup as HTTPServerSetup
|
|
|
|
from nonebot.internal.model import WebSocketServerSetup as WebSocketServerSetup
|
|
|
|
|
|
|
|
__autodoc__ = {
|
|
|
|
"URL": True,
|
|
|
|
"Driver": True,
|
|
|
|
"Cookies": True,
|
|
|
|
"Request": True,
|
|
|
|
"Response": True,
|
|
|
|
"WebSocket": True,
|
|
|
|
"HTTPVersion": True,
|
|
|
|
"ForwardMixin": True,
|
|
|
|
"ForwardDriver": True,
|
|
|
|
"ReverseDriver": True,
|
|
|
|
"combine_driver": True,
|
|
|
|
"HTTPServerSetup": True,
|
|
|
|
"WebSocketServerSetup": True,
|
|
|
|
}
|