(self, scope: Scope, receive: Receive, send: Send)
| 193 | self.reason = reason or "" |
| 194 | |
| 195 | async def __call__(self, scope: Scope, receive: Receive, send: Send) -> None: |
| 196 | await send({"type": "websocket.close", "code": self.code, "reason": self.reason}) |