AS AgentScopeAPI 手册 / API Reference

BytesResponse

public record BytesResponse(int status, byte[] body)
源码Source io/agentscope/extensions/aistio/transport/ControlPlaneHttpClient.java:39

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

HTTP response with a raw byte body (e.g. snapshot octet-streams).

记录组件摘要Record Component Summary

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

记录组件详情Record Component Detail

status

int status

执行状态相关操作。

Performs the status operation.

源码Source io/agentscope/extensions/aistio/transport/ControlPlaneHttpClient.java:39

body

byte[] body

执行正文相关操作。

Performs the body operation.

源码Source io/agentscope/extensions/aistio/transport/ControlPlaneHttpClient.java:39
基于官方固定版本源码静态生成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.