parameters: (client_connected_cb, host=None, port=None, *,
                         loop=None, limit=_DEFAULT_LIMIT, **kwds)
return_statement: return await loop.create_server(factory, host, port, **kwds)
docstring: Start a socket server, call back for each client connected.
  
      The first parameter, `client_connected_cb`, takes two parameters:
      client_reader, client_writer.  client_reader is a StreamReader
      object, while client_writer is a StreamWriter object.  This
      parameter can either be a plain callback function or a coroutine;
      if it is a coroutine, it will be automatically converted into a
      Task.
  
      The rest of the arguments are all the usual arguments to
      loop.create_server() except protocol_factory; most common are
      positional host and port, with various optional keyword arguments
      following.  The return value is the same as loop.create_server().
  
      Additional optional keyword arguments are loop (to set the event loop
      instance to use) and limit (to set the buffer limit passed to the
      StreamReader).
  
      The return value is the same as loop.create_server(), i.e. a
      Server object which can be used to stop the service.
docstring_summary: Start a socket server, call back for each client connected.
docstring_tokens: Start a socket server call back for each client connected .
function: async def start_server(client_connected_cb, host=None, port=None, *,
                         loop=None, limit=_DEFAULT_LIMIT, **kwds):
      """Start a socket server, call back for each client connected.
  
      The first parameter, `client_connected_cb`, takes two parameters:
      client_reader, client_writer.  client_reader is a StreamReader
      object, while client_writer is a StreamWriter object.  This
      parameter can either be a plain callback function or a coroutine;
      if it is a coroutine, it will be automatically converted into a
      Task.
  
      The rest of the arguments are all the usual arguments to
      loop.create_server() except protocol_factory; most common are
      positional host and port, with various optional keyword arguments
      following.  The return value is the same as loop.create_server().
  
      Additional optional keyword arguments are loop (to set the event loop
      instance to use) and limit (to set the buffer limit passed to the
      StreamReader).
  
      The return value is the same as loop.create_server(), i.e. a
      Server object which can be used to stop the service.
      """
      if loop is None:
          loop = events.get_event_loop()
      else:
          warnings.warn("The loop argument is deprecated since Python 3.8, "
                        "and scheduled for removal in Python 3.10.",
                        DeprecationWarning, stacklevel=2)
  
      def factory():
          reader = StreamReader(limit=limit, loop=loop)
          protocol = StreamReaderProtocol(reader, client_connected_cb,
                                          loop=loop)
          return protocol
  
      return await loop.create_server(factory, host, port, **kwds)
function_tokens: async def start_server ( client_connected_cb , host = None , port = None , * , loop = None , limit = _DEFAULT_LIMIT , * * kwds ) : if loop is None : loop = events . get_event_loop ( ) else : warnings . warn ( "The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10." , DeprecationWarning , stacklevel = 2 ) def factory ( ) : reader = StreamReader ( limit = limit , loop = loop ) protocol = StreamReaderProtocol ( reader , client_connected_cb , loop = loop ) return protocol return await loop . create_server ( factory , host , port , * * kwds )