(transport)
| 1351 | |
| 1352 | |
| 1353 | def _get_socket(transport): |
| 1354 | sock = transport.get_extra_info('socket') |
| 1355 | if sock is None: |
| 1356 | # Shouldn't happen with any asyncio-complaint event loop. |
| 1357 | raise ConnectionError( |
| 1358 | 'could not get the socket for transport {!r}'.format(transport)) |
| 1359 | return sock |
| 1360 | |
| 1361 | |
| 1362 | def _set_nodelay(sock): |
no outgoing calls
no test coverage detected