Back to Aiohttp

11764.Feature

CHANGES/11764.feature.rst

4.0.0a1289 B
Original Source

Added decode_text parameter to :meth:~aiohttp.ClientSession.ws_connect and :class:~aiohttp.web.WebSocketResponse to receive WebSocket TEXT messages as raw bytes instead of decoded strings, enabling direct use with high-performance JSON parsers like orjson -- by :user:bdraco.