MCPcopy Create free account
hub / github.com/CesiumGS/cesium-native / loadFromNetwork

Method loadFromNetwork

CesiumAsync/src/NetworkAssetDescriptor.cpp:51–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51Future<std::shared_ptr<CesiumAsync::IAssetRequest>>
52NetworkAssetDescriptor::loadFromNetwork(
53 const CesiumAsync::AsyncSystem& asyncSystem,
54 const std::shared_ptr<IAssetAccessor>& pAssetAccessor) const {
55 return pAssetAccessor->get(asyncSystem, this->url, this->headers);
56}
57
58Future<Result<std::vector<std::byte>>>
59NetworkAssetDescriptor::loadBytesFromNetwork(

Callers 2

loadBytesFromNetworkMethod · 0.95
getEndpointCacheMethod · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected