| 程序包 | 说明 |
|---|---|
| com.alibaba.dashscope.common | |
| com.alibaba.dashscope.protocol |
| 限定符和类型 | 方法和说明 |
|---|---|
static WebSocketEventType |
WebSocketEventType.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static WebSocketEventType[] |
WebSocketEventType.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
static WsHeader |
WsHeader.buildInputHeader(String taskId,
StreamingMode mode,
WebSocketEventType eventType) |
static Request |
ServiceFacility.prepareRequest(Protocol protocol,
Param param,
WebSocketEventType eventType)
Build the message body by the protocol.
|
Copyright © 2023. All rights reserved.