cesium-native  0.41.0
CesiumAsync::CacheResponse Class Reference

Cache response retrieved from the cache database. More...

#include <CesiumAsync/CacheItem.h>

Public Member Functions

 CacheResponse (uint16_t cacheStatusCode, HttpHeaders &&cacheHeaders, std::vector< std::byte > &&cacheData)
 Constructor. More...
 

Public Attributes

uint16_t statusCode
 The status code of the response.
 
HttpHeaders headers
 The headers of the response.
 
std::vector< std::byte > data
 The body data of the response.
 

Detailed Description

Cache response retrieved from the cache database.

Definition at line 19 of file CacheItem.h.

Constructor & Destructor Documentation

◆ CacheResponse()

CesiumAsync::CacheResponse::CacheResponse ( uint16_t  cacheStatusCode,
HttpHeaders &&  cacheHeaders,
std::vector< std::byte > &&  cacheData 
)
inline

Constructor.

Parameters
cacheStatusCodethe status code of the response
cacheHeadersthe headers of the response
cacheDatathe body of the response

Definition at line 27 of file CacheItem.h.


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