public final class Conversation extends Object implements BaseConversation
| Constructor and Description |
|---|
Conversation() |
Conversation(String protocol) |
| Modifier and Type | Method and Description |
|---|---|
ConversationResult |
call(ConversationParam param)
Call the server to get the whole result.
|
void |
call(ConversationParam param,
ResultCallback<ConversationResult> callback)
Call the server to get the result in the callback function.
|
io.reactivex.Flowable<ConversationResult> |
streamCall(ConversationParam param)
Call the server to get the result by stream.
|
public Conversation()
public Conversation(String protocol)
public void call(ConversationParam param, ResultCallback<ConversationResult> callback)
call in interface BaseConversationparam - The input param of class `ConversationParam`.callback - The callback to receive response, the template class is `ConversationResult`.public io.reactivex.Flowable<ConversationResult> streamCall(ConversationParam param)
streamCall in interface BaseConversationparam - The input param of class `ConversationParam`.public ConversationResult call(ConversationParam param) throws ApiException
call in interface BaseConversationparam - The input param of class `ConversationParam`.ApiExceptionCopyright © 2023. All rights reserved.