AS AgentScopeAPI 手册 / API Reference
包package io.agentscope.core.model.transport

io.agentscope.core.model.transport

package io.agentscope.core.model.transport

io.agentscope.core.model.transport 属于模型与向量化,大模型接入、凭证与嵌入。 该包共收录 19 个公开类型。

io.agentscope.core.model.transport belongs to the Models & embeddings layer and contains 19 public types.

所属构件Artifacts agentscope-core

接口Interfaces

类型Type种类Kind说明Description
HttpTransport接口interface
定义 HTTP 传输层契约的接口。
HTTP transport layer interface for making HTTP requests.
WebSocketTransport接口interface
WebSocket 客户端。
WebSocket client interface.

类Classes

类型Type种类Kind说明Description
HttpRequest类class
HTTP 请求,与模型服务通信并返回生成或向量化结果。
HTTP request encapsulation for the transport layer.
HttpResponse类class
HTTP 响应,与模型服务通信并返回生成或向量化结果。
HTTP response encapsulation for the transport layer.
HttpTransportConfig类class
HTTP 传输层配置,保存相关配置项。
Configuration for HTTP transport layer.
HttpTransportException类class
HTTP 传输层异常,表示执行过程中的错误。
Exception thrown when HTTP transport operations fail.
HttpTransportFactory类class
HTTP 传输层工厂,与模型服务通信并返回生成或向量化结果。
Factory for managing HttpTransport instances.
JdkHttpTransport类class
Jdk HTTP 传输层,与模型服务通信并返回生成或向量化结果。
Pure JDK implementation of the HttpTransport interface.
OkHttpTransport类class
Ok HTTP 传输层,与模型服务通信并返回生成或向量化结果。
OkHttp implementation of the HttpTransport interface.
ProxyConfig类class
用于HTTP 和 SOCKS 代理的配置。
Configuration for HTTP and SOCKS proxy.
TransportConstants类class
传输层 Constants,与模型服务通信并返回生成或向量化结果。
Constants for HTTP transport layer.

枚举Enums

类型Type种类Kind说明Description
HttpVersion枚举enum
定义HTTP 版本相关取值的枚举。
HTTP version.
ProxyType枚举enum
定义代理类型的枚举。
Enumeration of supported proxy types.
基于官方固定版本源码静态生成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.