async def METHOD_NAME(self) -> str:
    msg = await self._receive()
    if msg.type not in (aiohttp.WSMsgType.TEXT, aiohttp.WSMsgType.BINARY):
        raise TypeError(
            f"WebSocket received unexpected frame type: {msg.type}, {msg.data!r}"
        )
    return msg.data