Package com.alibaba.dashscope
Class DashScopeAsyncClient.Builder
java.lang.Object
com.alibaba.dashscope.DashScopeAsyncClient.Builder
- Enclosing class:
- DashScopeAsyncClient
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Inject an executor; the caller retains lifecycle ownership.httpClient(okhttp3.OkHttpClient httpClient) maxRetries(Integer maxRetries) raiseOnError(Boolean raiseOnError) wsPingInterval(Duration wsPingInterval) WebSocket ping interval; default 0 = off (audio design §12#1).
-
Method Details
-
apiKey
-
baseUrl
-
wsBaseUrl
-
workspace
-
region
-
timeout
-
maxRetries
-
raiseOnError
-
wsPingInterval
WebSocket ping interval; default 0 = off (audio design §12#1). NAT/proxy: 20–30 s. -
httpClient
-
executor
Inject an executor; the caller retains lifecycle ownership. -
build
-