receiveAudioFlow

suspend fun WebSocketSession.receiveAudioFlow(): AudioFlow

Read an AudioFlow from an open server-side WebSocketSession.

Mirrors HttpClient.receiveAudioFlowFromWebSocket for the server: the first binary frame is consumed as the AudioFormat header and subsequent binary frames are surfaced as chunks. The caller is responsible for the session lifecycle.