|
Pipecat C++ Client SDK 1.3.0
Connect native apps to Pipecat bots
|
The Pipecat C++ client SDK. More...
Namespaces | |
| namespace | rtvi |
Typedefs | |
| using | FunctionCallResultCallback = std::function< void(nlohmann::json result)> |
| using | ClientResponseCallback = std::function< void(const ClientResponse &)> |
| Receives the bot's answer to a request. | |
Enumerations | |
| enum class | TransportState { Disconnected , Initializing , Initialized , Authenticating , Authenticated , Connecting , Connected , Ready , Disconnecting , Error } |
| The state of the connection to the bot. More... | |
Functions | |
| const char * | to_string (TransportState state) |
| The name of a state, e.g. "ready". | |
The Pipecat C++ client SDK.
| using pipecat::FunctionCallResultCallback = typedef std::function<void(nlohmann::json result)> |
Sends the result of a function call to the bot.
Call it once, right away or later, from any thread. It does nothing after the client disconnects. A null result is sent as an empty object.
|
strong |
The state of the connection to the bot.