(self)
| 190 | return cast(str, message[class="st">"text"]) |
| 191 | |
| 192 | def receive_bytes(self) -> bytes: |
| 193 | message = self.receive() |
| 194 | self._raise_on_close(message) |
| 195 | return cast(bytes, message[class="st">"bytes"]) |
| 196 | |
| 197 | def receive_json(self, mode: Literal[class="st">"text", class="st">"binary"] = class="st">"text") -> Any: |
| 198 | message = self.receive() |
nothing calls this directly
no test coverage detected