Table of Contents

Namespace Mabs.AudioCpp.Http

Classes

AudioCppException

The exception thrown when an audio.cpp server reports an error, either through a non-2xx JSON error envelope ({"error":{"message":…,"type":…}}) or through an SSE error event.

SseReader

Incremental reader for the audio.cpp server's text/event-stream responses.

Structs

SseEvent

One parsed server-sent event: the optional event: field name and the concatenated data: payload. The audio.cpp server puts the discriminating "type" inside the JSON payload, so EventType is generally null; the [DONE] sentinel terminates the stream and is never surfaced as an event.