Skip to content

Client & configuration

API Role
DashScopeClient Synchronous resource client; reuse and close it when done.
DashScopeAsyncClient Async resource client; unary calls use CompletableFuture and streaming calls use Flowable where supported.
ClientOptions Client-wide credentials, endpoints, timeout, retries, executor and HTTP transport.
RequestOptions Per-request options including headers and encryption.
ResolvedConfig Resolved client settings.

See configuration for precedence and async client for lifecycle and capabilities.