在使用asyncio 库的start_server 函数启动一个服务器时,您可以通过调用其close 方法来停止它。示例代码如下: import asyncio async def handle_echo(reader, ...
確定! 回上一頁