| Package | Description |
|---|---|
| com.alibaba.dashscope.common | |
| com.alibaba.dashscope.protocol |
| Modifier and Type | Method and Description |
|---|---|
static StreamingMode |
StreamingMode.of(String value) |
static StreamingMode |
StreamingMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StreamingMode[] |
StreamingMode.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 io.reactivex.Flowable<Response> |
ServiceFacility.streamingOut(Protocol protocol,
String url,
Map<String,String> headers,
Request request,
HttpMethod httpMethod,
StreamingMode mode,
long receiveTimeout)
Call rpc on single-in, stream-out mode
|
static void |
ServiceFacility.streamingOutWithCallback(Protocol protocol,
String url,
Map<String,String> headers,
Request request,
HttpMethod httpMethod,
StreamingMode mode,
ResultCallback<Response> callback)
Call rpc on single-in mode with a callback.
|
Copyright © 2023. All rights reserved.