| Package | Description |
|---|---|
| com.alibaba.dashscope.common | |
| com.alibaba.dashscope.protocol |
| Modifier and Type | Method and Description |
|---|---|
static WebSocketEventType |
WebSocketEventType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WebSocketEventType[] |
WebSocketEventType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
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.