Searched refs:get_extra_info (Results 1 – 10 of 10) sorted by relevance
/external/python/cpython3/Lib/test/test_asyncio/ |
D | test_transports.py | 18 self.assertEqual('info', transport.get_extra_info('extra')) 19 self.assertIsNone(transport.get_extra_info('unknown')) 22 self.assertIs(default, transport.get_extra_info('unknown', default))
|
D | test_events.py | 574 self.assertIsNotNone(tr.get_extra_info('sockname')) 627 self.assertIsNotNone(client.get_extra_info('sockname')) 630 client.get_extra_info('peername')) 632 self.assertIsNotNone(client.get_extra_info('peername')) 634 client.get_extra_info('peercert')) 637 cipher = client.get_extra_info('cipher') 645 sslobj = client.get_extra_info('ssl_object') 648 client.get_extra_info('compression')) 650 client.get_extra_info('cipher')) 652 client.get_extra_info('peercert')) [all …]
|
D | test_subprocess.py | 386 proc = transport.get_extra_info('subprocess') 409 proc = transport.get_extra_info('subprocess')
|
D | test_base_events.py | 1300 def get_extra_info(self, key): member in BaseEventLoopWithSelectorTests.test_create_connection_ssl_server_hostname_default._SelectorTransportMock 1576 sock = transport.get_extra_info('socket') 1609 sock = transport.get_extra_info('socket')
|
/external/python/cpython3/Lib/asyncio/ |
D | streams.py | 232 self._over_ssl = transport.get_extra_info('sslcontext') is not None 308 def get_extra_info(self, name, default=None): member in StreamWriter 309 return self._transport.get_extra_info(name, default)
|
D | transports.py | 18 def get_extra_info(self, name, default=None): member in BaseTransport
|
D | sslproto.py | 304 def get_extra_info(self, name, default=None): member in _SSLProtocolTransport 547 return self._transport.get_extra_info(name, default)
|
D | base_events.py | 806 sock = transport.get_extra_info('socket') 1089 sock = transport.get_extra_info('socket')
|
/external/python/cpython3/Doc/library/ |
D | asyncio-stream.rst | 182 :meth:`write_eof`, :meth:`get_extra_info` and :meth:`close`. It adds 223 .. method:: get_extra_info(name, default=None) 226 :meth:`BaseTransport.get_extra_info`. 340 addr = writer.get_extra_info('peername')
|
D | asyncio-protocol.rst | 53 .. method:: get_extra_info(name, default=None) 549 peername = transport.get_extra_info('peername')
|