asyncio.events.AbstractServer - pydoc - phpman

Look up a command

 

Markdown Format | JSON API | MCP Server Tool


Help on class AbstractServer in asyncio.events:

asyncio.events.AbstractServer = class AbstractServer(builtins.object)
 |  Abstract server returned by create_server().
 |
 |  Methods defined here:
 |
 |  async __aenter__(self)
 |
 |  async __aexit__(self, *exc)
 |
 |  close(self)
 |      Stop serving.  This leaves existing connections open.
 |
 |  get_loop(self)
 |      Get the event loop the Server object is attached to.
 |
 |  is_serving(self)
 |      Return True if the server is accepting connections.
 |
 |  async serve_forever(self)
 |      Start accepting connections until the coroutine is cancelled.
 |
 |      The server is closed when the coroutine is cancelled.
 |
 |  async start_serving(self)
 |      Start accepting connections.
 |
 |      This method is idempotent, so it can be called when
 |      the server is already being serving.
 |
 |  async wait_closed(self)
 |      Coroutine to wait until service is closed.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors defined here:
 |
 |  __dict__
 |      dictionary for instance variables (if defined)
 |
 |  __weakref__
 |      list of weak references to the object (if defined)


Generated by phpMan Author: Che Dong Under GNU General Public License
2026-06-02 08:51 @216.73.216.198 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 TransitionalValid CSS!