mirror of
https://github.com/nonebot/nonebot2.git
synced 2026-01-21 03:02:06 +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