Skip to main content
This is a usage example, not a published package. cpp/ in the repo contains a single-header helper (client.hpp) that wraps CPR and nlohmann/json. Copy it into your project or pull it via CMake FetchContent — there is no package to install from a registry. If you’re building in C++, the API is straightforward HTTP with JSON. You can use any HTTP client you already have; the header is just a convenience wrapper.

Pull into your CMake project

Or copy cpp/include/sf_voice/client.hpp directly. You need CPR and nlohmann/json on your include path either way.

Create a client

Ingest

Poll until ready

Result type

All methods return std::future<Result<T>>. Result<T> is a tagged union — check before use: