cesium-native 0.43.0
Loading...
Searching...
No Matches
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.
 

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 18 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 26 of file CacheItem.h.

Member Data Documentation

◆ data

std::vector<std::byte> CesiumAsync::CacheResponse::data

The body data of the response.

Definition at line 47 of file CacheItem.h.

◆ headers

HttpHeaders CesiumAsync::CacheResponse::headers

The headers of the response.

Definition at line 42 of file CacheItem.h.

◆ statusCode

uint16_t CesiumAsync::CacheResponse::statusCode

The status code of the response.

Definition at line 37 of file CacheItem.h.


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