MCPcopy Create free account
hub / github.com/astercloud/aster / close

Method close

client-sdks/python-bridge/aster.py:194–197  ·  view source on GitHub ↗

关闭 HTTP 会话

(self)

Source from the content-addressed store, hash-verified

192 return await resp.json()
193
194 async def close(self):
195 """关闭 HTTP 会话"""
196 if self._session and not self._session.closed:
197 await self._session.close()
198
199 async def __aenter__(self):
200 """支持 async with 语法"""

Callers 3

__aexit__Method · 0.95
useEventStreamFunction · 0.45
disconnectMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected