| 限定符和类型 | 方法和说明 |
|---|---|
Request |
ConversationParam.toRequest(Protocol protocol) |
| 限定符和类型 | 方法和说明 |
|---|---|
Request |
RecognitionStreamParam.toRequest(Protocol protocol) |
Request |
RecognitionRequestParam.toRequest(Protocol protocol) |
| 限定符和类型 | 方法和说明 |
|---|---|
Request |
TranscriptionQueryParam.toRequest(Protocol protocol) |
Request |
TranscriptionParam.toRequest(Protocol protocol) |
| 限定符和类型 | 方法和说明 |
|---|---|
Request |
SpeechSynthesisParam.toRequest(Protocol protocol) |
| 限定符和类型 | 方法和说明 |
|---|---|
abstract Request |
Param.toRequest(Protocol protocol) |
| 限定符和类型 | 方法和说明 |
|---|---|
static Request |
ServiceFacility.prepareRequest(Protocol protocol,
Param param,
WebSocketEventType eventType)
Build the message body by the protocol.
|
Request |
SubmitParam.toRequest(Protocol protocol) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
WebsocketRpc.call(Request request,
ResultCallback<Response> responseCallback,
java.util.function.Function<String,Boolean> completeCallback)
Do call.
|
void |
HttpRpc.post(Map<String,String> headers,
Request input)
Do post.
|
void |
HttpRpc.sse(Map<String,String> headers,
Request input)
Do sse.
|
static Response |
ServiceFacility.streamingNone(Protocol protocol,
String url,
Map<String,String> headers,
Request request,
HttpMethod httpMethod,
long receiveTimeout)
Call rpc on single-in, single-out mode
|
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.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
WebsocketRpc.call(io.reactivex.Flowable<Request> requests,
ResultCallback<Response> responseCallback,
java.util.function.Function<String,Boolean> completeCallback)
Do call.
|
static io.reactivex.Flowable<Response> |
ServiceFacility.streamingInAndDuplex(String url,
Map<String,String> headers,
io.reactivex.Flowable<Request> requests,
long receiveTimeout)
Call rpc on stream-in mode, only support websocket.
|
static void |
ServiceFacility.streamingInAndDuplexWithCallback(String url,
Map<String,String> headers,
io.reactivex.Flowable<Request> requests,
ResultCallback<Response> callback)
Call rpc with a callback on stream-in mode, only support websocket.
|
Copyright © 2023. All rights reserved.