|
cxxmcp 1.1.6
C++ MCP SDK
|
Snapshot of an asynchronous task. More...
#include <task.hpp>
Public Attributes | |
| std::string | task_id |
| Stable task identifier used by task management methods. | |
| TaskStatus | status = TaskStatus::Working |
| Current lifecycle status. | |
| std::optional< std::string > | status_message |
| Optional human-readable status detail. | |
| std::string | created_at |
| Creation timestamp as a protocol string. | |
| std::variant< std::monostate, std::int64_t > | ttl = std::monostate{} |
| Task time-to-live. Monostate serializes as JSON null. | |
| std::optional< std::int64_t > | poll_interval |
| Optional recommended polling interval. | |
| std::string | last_updated_at |
| Last update timestamp as a protocol string. | |
| Json | extensions = Json::object() |
| Unknown JSON members preserved for forward-compatible round trips. | |
Snapshot of an asynchronous task.