Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c542049 commit 1ea023eCopy full SHA for 1ea023e
1 file changed
Doc/library/asyncio-protocol.rst
@@ -87,6 +87,19 @@ BaseTransport
87
88
- ``'subprocess'``: :class:`subprocess.Popen` instance
89
90
+ .. method:: set_protocol(self, protocol)
91
+
92
+ Set a new protocol. Switching protocol should only be done when both
93
+ protocols are documented to support the switch.
94
95
+ .. versionadded:: 3.6.0
96
97
+ .. method:: get_protocol(self)
98
99
+ Return the current protocol.
100
101
102
103
.. versionchanged:: 3.5.1
104
``'ssl_object'`` info was added to SSL sockets.
105
0 commit comments