AS AgentScopeAPI 手册 / API Reference

Response

public record Response(int status, String body)
源码Source io/agentscope/extensions/controlplane/transport/ControlPlaneHttpClient.java:36

承载响应数据的记录类型。位于 io.agentscope.extensions.controlplane.transport 包。核心成员包括 status、body。

HTTP response with a decoded string body.

记录组件摘要Record Component Summary

组件Component类型Type说明Description
statusint
执行状态相关操作。
Performs the status operation.
bodyString
执行正文相关操作。
Performs the body operation.

记录组件详情Record Component Detail

status

int status

执行状态相关操作。

Performs the status operation.

源码Source io/agentscope/extensions/controlplane/transport/ControlPlaneHttpClient.java:36

body

String body

执行正文相关操作。

Performs the body operation.

源码Source io/agentscope/extensions/controlplane/transport/ControlPlaneHttpClient.java:36
基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.