Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGES/10988.bugfix.rst
2 changes: 1 addition & 1 deletion CHANGES/6009.bugfix.rst
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Fixed ``WebSocketResponse.prepared`` property to correctly reflect the prepared state, especially during timeout scenarios -- by :user:`bdraco`
Fixed :py:meth:`~aiohttp.web.WebSocketResponse.prepared` property to correctly reflect the prepared state, especially during timeout scenarios -- by :user:`bdraco`
5 changes: 5 additions & 0 deletions docs/web_reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1045,6 +1045,11 @@ and :ref:`aiohttp-web-signals` handlers::
of closing.
:const:`~aiohttp.WSMsgType.CLOSE` message has been received from peer.

.. attribute:: prepared

Read-only :class:`bool` property, ``True`` if :meth:`prepare` has
been called, ``False`` otherwise.

.. attribute:: close_code

Read-only property, close code from peer. It is set to ``None`` on
Expand Down
Loading