public class ClientProviders extends Object
| 构造器和说明 |
|---|
ClientProviders() |
| 限定符和类型 | 方法和说明 |
|---|---|
static FullDuplexClient |
getFullDuplexClient() |
static FullDuplexClient |
getFullDuplexClient(ClientOptions options)
Create a dashscope full duplex client. only okhttp http and websocket is supported.
|
static HalfDuplexClient |
getHalfDuplexClient() |
static HalfDuplexClient |
getHalfDuplexClient(ClientOptions options)
Create a dashscope half duplex client. only okhttp http and websocket is supported.
|
public static HalfDuplexClient getHalfDuplexClient()
public static FullDuplexClient getFullDuplexClient()
public static HalfDuplexClient getHalfDuplexClient(ClientOptions options)
options - The client options.public static FullDuplexClient getFullDuplexClient(ClientOptions options)
options - The client options.Copyright © 2023. All rights reserved.