包package
io.agentscope.core.model.transportio.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.
接口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. |