@@ -132,47 +132,23 @@ High-level APIs to work with network IO. |
|
|
132 |
132 |
:widths: 50 50 |
133 |
133 |
:class: full-width-table |
134 |
134 |
|
135 |
|
- * - ``await`` :func:`connect` |
136 |
|
- - Establish a TCP connection to send and receive data. |
137 |
|
- |
138 |
135 |
* - ``await`` :func:`open_connection` |
139 |
|
- - Establish a TCP connection. (Deprecated in favor of :func:`connect`) |
140 |
|
- |
141 |
|
- * - ``await`` :func:`connect_unix` |
142 |
|
- - Establish a Unix socket connection to send and receive data. |
|
136 |
+ - Establish a TCP connection. |
143 |
137 |
|
144 |
138 |
* - ``await`` :func:`open_unix_connection` |
145 |
|
- - Establish a Unix socket connection. (Deprecated in favor of :func:`connect_unix`) |
146 |
|
- |
147 |
|
- * - :class:`StreamServer` |
148 |
|
- - Start a TCP server. |
|
139 |
+ - Establish a Unix socket connection. |
149 |
140 |
|
150 |
141 |
* - ``await`` :func:`start_server` |
151 |
|
- - Start a TCP server. (Deprecated in favor of :class:`StreamServer`) |
152 |
|
- |
153 |
|
- * - :class:`UnixStreamServer` |
154 |
|
- - Start a Unix socket server. |
|
142 |
+ - Start a TCP server. |
155 |
143 |
|
156 |
144 |
* - ``await`` :func:`start_unix_server` |
157 |
|
- - Start a Unix socket server. (Deprecated in favor of :class:`UnixStreamServer`) |
158 |
|
- |
159 |
|
- * - :func:`connect_read_pipe` |
160 |
|
- - Establish a connection to :term:`file-like object ` *pipe* |
161 |
|
- to receive data. |
162 |
|
- |
163 |
|
- * - :func:`connect_write_pipe` |
164 |
|
- - Establish a connection to :term:`file-like object ` *pipe* |
165 |
|
- to send data. |
166 |
|
- |
167 |
|
- * - :class:`Stream` |
168 |
|
- - Stream is a single object combining APIs of :class:`StreamReader` and |
169 |
|
-:class:`StreamWriter`. |
|
145 |
+ - Start a Unix socket server. |
170 |
146 |
|
171 |
147 |
* - :class:`StreamReader` |
172 |
|
- - High-level async/await object to receive network data. (Deprecated in favor of :class:`Stream`) |
|
148 |
+ - High-level async/await object to receive network data. |
173 |
149 |
|
174 |
150 |
* - :class:`StreamWriter` |
175 |
|
- - High-level async/await object to send network data. (Deprecated in favor of :class:`Stream`) |
|
151 |
+ - High-level async/await object to send network data. |
176 |
152 |
|
177 |
153 |
|
178 |
154 |
.. rubric:: Examples |