(self)
| 148 | return json.loads(text) |
| 149 | |
| 150 | async def iter_text(self) -> AsyncIterator[str]: |
| 151 | try: |
| 152 | while True: |
| 153 | yield await self.receive_text() |
| 154 | except WebSocketDisconnect: |
| 155 | pass |
| 156 | |
| 157 | async def iter_bytes(self) -> AsyncIterator[bytes]: |
| 158 | try: |