Fastly Compute C++ SDK
Loading...
Searching...
No Matches
fastly::cache::simple::CacheEntry Class Reference

The return type of the closure provided to get_or_set_with(). More...

#include <simple.h>

Public Member Functions

 CacheEntry (http::Body val, std::chrono::nanoseconds ttl)
http::Bodyvalue ()
const http::Bodyvalue () const
std::chrono::nanoseconds ttl () const

Detailed Description

The return type of the closure provided to get_or_set_with().

Constructor & Destructor Documentation

◆ CacheEntry()

fastly::cache::simple::CacheEntry::CacheEntry ( http::Body val,
std::chrono::nanoseconds ttl )
inline

Member Function Documentation

◆ ttl()

std::chrono::nanoseconds fastly::cache::simple::CacheEntry::ttl ( ) const
inline

◆ value() [1/2]

http::Body & fastly::cache::simple::CacheEntry::value ( )
inline

◆ value() [2/2]

const http::Body & fastly::cache::simple::CacheEntry::value ( ) const
inline

The documentation for this class was generated from the following file: