receiveAudioFlowFromWebSocket

suspend fun HttpClient.receiveAudioFlowFromWebSocket(urlString: String, request: HttpRequestBuilder.() -> Unit = {}): AudioFlow

Receive an AudioFlow from a remote WebSocket endpoint.

The first binary frame is read synchronously to recover the AudioFormat header; the resulting AudioFlow then emits one element per subsequent binary frame until the peer closes the socket.