mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-07-28 08:41:29 +00:00
add http api
This commit is contained in:
@ -67,7 +67,7 @@ class BaseWebSocket(object):
|
||||
raise NotImplementedError
|
||||
|
||||
@abc.abstractmethod
|
||||
async def close(self):
|
||||
async def close(self, code: int):
|
||||
raise NotImplementedError
|
||||
|
||||
@abc.abstractmethod
|
||||
|
Reference in New Issue
Block a user