public class WebsocketsAudioSpeechClient extends BaseWebsocketsClient
CLOSE_TIMEOUT_SECONDS, executorService, listener, logger, objectMapper, ws| Modifier | Constructor and Description |
|---|---|
protected |
WebsocketsAudioSpeechClient(okhttp3.OkHttpClient client,
String wsHost,
WebsocketsAudioSpeechCreateReq req) |
| Modifier and Type | Method and Description |
|---|---|
protected static String |
buildUrl(String wsHost) |
protected BaseCallbackHandler |
getCallbackHandler() |
protected void |
handleEvent(okhttp3.WebSocket ws,
String text) |
void |
inputTextBufferAppend(String data) |
void |
inputTextBufferComplete() |
void |
speechUpdate(SpeechUpdateEventData data) |
close, parseEventType, sendEventprotected WebsocketsAudioSpeechClient(okhttp3.OkHttpClient client,
String wsHost,
WebsocketsAudioSpeechCreateReq req)
public void speechUpdate(SpeechUpdateEventData data)
public void inputTextBufferAppend(String data)
public void inputTextBufferComplete()
protected BaseCallbackHandler getCallbackHandler()
getCallbackHandler in class BaseWebsocketsClientprotected void handleEvent(okhttp3.WebSocket ws,
String text)
handleEvent in class BaseWebsocketsClientCopyright © 2025. All rights reserved.