🔖 bump version 2.0.0rc2

This commit is contained in:
Ju4tCode
2022-11-24 03:35:31 +00:00
committed by GitHub
parent 89d8abf863
commit 1644615462
4 changed files with 25 additions and 24 deletions

View File

@ -262,7 +262,7 @@ class FastAPIWebSocket(BaseWebSocket):
async def close(
self, code: int = status.WS_1000_NORMAL_CLOSURE, reason: str = ""
) -> None:
await self.websocket.close(code)
await self.websocket.close(code, reason)
@overrides(BaseWebSocket)
async def receive(self) -> Union[str, bytes]: