Serves as a token for a specific attachment that you can pass to a call to Store::fetch_attachment.
More...
Public Member Functions | |
| std::string | get_id () const |
| Gets the attachment's ID. | |
| uint64_t | get_len () const |
| Gets the attachment's size in bytes. | |
| std::map< std::string, std::string > | get_metadata () const |
| Gets the attachment's metadata. | |
Serves as a token for a specific attachment that you can pass to a call to Store::fetch_attachment.
| std::string ditto::AttachmentToken::get_id | ( | ) | const |
Gets the attachment's ID.
| uint64_t ditto::AttachmentToken::get_len | ( | ) | const |
Gets the attachment's size in bytes.
|
inline |
Gets the attachment's metadata.