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

Method create

client-sdks/client-js/src/resources/session.ts:26–31  ·  view source on GitHub ↗

* 创建 Session * @param config Session 配置 * @returns Session 信息

(config: SessionConfig)

Source from the content-addressed store, hash-verified

24 * @returns Session 信息
25 */
26 async create(config: SessionConfig): Promise<SessionInfo> {
27 return this.request<SessionInfo>("/v1/sessions", {
28 method: "POST",
29 body: config,
30 });
31 }
32
33 /**
34 * 获取 Session 详情

Callers 1

mainFunction · 0.95

Calls 1

requestMethod · 0.80

Tested by

no test coverage detected