@@ -225,7 +225,7 @@ Creating listening connections
225225 A :ref: `coroutine <coroutine >` which creates a TCP server bound to host and
226226 port.
227227
228- The return value is a Server object which can be used to stop
228+ The return value is a :class: ` AbstractServer ` object which can be used to stop
229229 the service.
230230
231231 If *host * is an empty string or None all interfaces are assumed
@@ -265,7 +265,7 @@ Creating listening connections
265265Creating connections
266266^^^^^^^^^^^^^^^^^^^^
267267
268- .. method :: BaseEventLoop.create_connection(protocol_factory, host=None, port=None, **options )
268+ .. method :: BaseEventLoop.create_connection(protocol_factory, host=None, port=None, \*, ssl=None, family=0, proto=0, flags=0, sock=None, local_addr=None, server_hostname=None )
269269
270270 Create a streaming transport connection to a given Internet *host * and
271271 *port *. *protocol_factory * must be a callable returning a
@@ -296,8 +296,7 @@ Creating connections
296296 a class. For example, if you want to use a pre-created
297297 protocol instance, you can pass ``lambda: my_protocol ``.
298298
299- *options * are optional named arguments allowing to change how the
300- connection is created:
299+ Options allowing to change how the connection is created:
301300
302301 * *ssl *: if given and not false, a SSL/TLS transport is created
303302 (by default a plain TCP transport is created). If *ssl * is
@@ -431,7 +430,7 @@ Network functions
431430 :class: `StreamReader `).
432431
433432 The return value is the same as :meth: `~BaseEventLoop.create_server() `, i.e.
434- a Server object which can be used to stop the service.
433+ a :class: ` AbstractServer ` object which can be used to stop the service.
435434
436435 This function returns a :ref: `coroutine <coroutine >`.
437436
@@ -659,6 +658,35 @@ Methods common to all transports: BaseTransport
659658 This method allows transport implementations to easily expose
660659 channel-specific information.
661660
661+ * socket:
662+
663+ - ``'peername' ``: the remote address to which the socket is connected,
664+ result of :meth: `socket.socket.getpeername ` (``None `` on error)
665+ - ``'socket' ``: :class: `socket.socket ` instance
666+ - ``'sockname' ``: the socket's own address,
667+ result of :meth: `socket.socket.getsockname `
668+
669+ * SSL socket:
670+
671+ - ``'compression' ``: the compression algorithm being used as a string,
672+ or ``None `` if the connection isn't compressed; result of
673+ :meth: `ssl.SSLSocket.compression `
674+ - ``'cipher' ``: a three-value tuple containing the name of the cipher
675+ being used, the version of the SSL protocol that defines its use, and
676+ the number of secret bits being used; result of
677+ :meth: `ssl.SSLSocket.cipher `
678+ - ``'peercert' ``: peer certificate; result of
679+ :meth: `ssl.SSLSocket.getpeercert `
680+ - ``'sslcontext' ``: :class: `ssl.SSLContext ` instance
681+
682+ * pipe:
683+
684+ - ``'pipe' ``: pipe object
685+
686+ * subprocess:
687+
688+ - ``'subprocess' ``: :class: `subprocess.Popen ` instance
689+
662690
663691Methods of readable streaming transports: ReadTransport
664692^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -854,11 +882,11 @@ Task functions
854882 outer Future is *not * cancelled in this case. (This is to prevent the
855883 cancellation of one child to cause other children to be cancelled.)
856884
857- .. function :: iscoroutinefunction(func)
885+ .. function :: tasks. iscoroutinefunction(func)
858886
859887 Return ``True `` if *func * is a decorated coroutine function.
860888
861- .. function :: iscoroutine(obj)
889+ .. function :: tasks. iscoroutine(obj)
862890
863891 Return ``True `` if *obj * is a coroutine object.
864892
0 commit comments