MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / setDownloadPath

Method setDownloadPath

Engine/source/app/net/httpObject.cpp:411–417  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

409}
410
411void HTTPObject::setDownloadPath(const std::string &path)
412{
413 char expanded[0x100];
414 Con::expandScriptFilename(expanded, 0x100, path.c_str());
415 mDownloadPath = std::string(expanded);
416 mDownload = true;
417}
418
419void HTTPObject::addHeader(const std::string &name, const std::string &value)
420{

Callers 1

DefineEngineMethodFunction · 0.80

Calls 2

expandScriptFilenameFunction · 0.85
c_strMethod · 0.45

Tested by

no test coverage detected