🐛 Fix: WebSocket 基类 typo (#4095)

This commit is contained in:
旋律
2026-06-27 00:12:03 +08:00
committed by GitHub
parent 072c0bd5e5
commit e21609a231
+1 -1
View File
@@ -209,7 +209,7 @@ class WebSocket(abc.ABC):
elif isinstance(data, bytes):
await self.send_bytes(data)
else:
raise TypeError("WebSocker send method expects str or bytes!")
raise TypeError("WebSocket send method expects str or bytes!")
@abc.abstractmethod
async def send_text(self, data: str) -> None: