MCPcopy Create free account
hub / github.com/deathkiller/jazz2-native / AsString

Method AsString

Sources/Shared/IO/WebRequest.cpp:850–857  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

848 }
849
850 String WebResponseImpl::AsString() const
851 {
852 if (_request.GetStorage() == WebRequest::Storage::Memory) {
853 return arrayView(_readBuffer);
854 }
855
856 return {};
857 }
858
859 void WebResponseImpl::ReportDataReceived(std::size_t sizeReceived)
860 {

Callers 1

CheckUpdatesMethod · 0.80

Calls 3

DEATH_ASSERTFunction · 0.85
arrayViewFunction · 0.50
GetStorageMethod · 0.45

Tested by

no test coverage detected