新增于: v24.20.0
options object
active <boolean> 如果是 true(默认),只返回活跃的端点(未销毁、未关闭、未忙)。如果是 false,则返回所有端点。
- 返回:quic.QuicEndpoint[]
返回所有 QuicEndpoint 实例的列表。默认情况下,只返回活跃的端点。
🌐 Returns the list of all QuicEndpoint instances. By default, only active
endpoints are returned.