(self, sockets: list[socket.socket] | None = None)
| 75 | return asyncio_run(self.serve(sockets=sockets), loop_factory=self.config.get_loop_factory()) |
| 76 | |
| 77 | async def serve(self, sockets: list[socket.socket] | None = None) -> None: |
| 78 | with self.capture_signals(): |
| 79 | await self._serve(sockets) |
| 80 | |
| 81 | async def _serve(self, sockets: list[socket.socket] | None = None) -> None: |
| 82 | process_id = os.getpid() |