Uses of Class
com.alibaba.dashscope.transport.ws.WsConnection
Packages that use WsConnection
Package
Description
-
Uses of WsConnection in com.alibaba.dashscope
Methods in com.alibaba.dashscope that return WsConnectionModifier and TypeMethodDescriptionDashScopeClient.wsConnection()Open a shared WebSocket connection multiplexing many task-protocol tasks (audio design §7).DashScopeClient.wsConnection(RequestOptions options) -
Uses of WsConnection in com.alibaba.dashscope.resources.audio
Methods in com.alibaba.dashscope.resources.audio with parameters of type WsConnectionModifier and TypeMethodDescriptionTtsService.connect(TtsConnectParams params, WsConnection connection) ws duplex multiplexed on a shared connection (audio design §7).TtsService.connect(TtsConnectParams params, WsConnection connection, RequestOptions options) AsrService.recognize(AsrRecognizeParams params, WsConnection connection) Realtime recognition multiplexed on a shared connection (audio design §7).AsrService.recognize(AsrRecognizeParams params, WsConnection connection, RequestOptions options) -
Uses of WsConnection in com.alibaba.dashscope.resources.tingwu
Methods in com.alibaba.dashscope.resources.tingwu with parameters of type WsConnectionModifier and TypeMethodDescriptionTingWuService.realtime(TingWuRealtimeParams params, WsConnection connection) Realtime understanding multiplexed on a shared connection.TingWuService.realtime(TingWuRealtimeParams params, WsConnection connection, RequestOptions options)