(transport)
| 1291 | |
| 1292 | |
| 1293 | def _get_socket(transport): |
| 1294 | sock = transport.get_extra_info('socket') |
| 1295 | if sock is None: |
| 1296 | # Shouldn't happen with any asyncio-complaint event loop. |
| 1297 | raise ConnectionError( |
| 1298 | 'could not get the socket for transport {!r}'.format(transport)) |
| 1299 | return sock |
| 1300 | |
| 1301 | |
| 1302 | def _set_nodelay(sock): |
no outgoing calls
no test coverage detected
searching dependent graphs…