MCPcopy Create free account
hub / github.com/benkuper/Chataigne / uploadFileFromScript

Method uploadFileFromScript

Source/Module/modules/http/HTTPModule.cpp:368–373  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

366}
367
368var HTTPModule::uploadFileFromScript(const var::NativeFunctionArgs& args)
369{
370 HTTPModule* m = getObjectFromJS<HTTPModule>(args);
371 if (m != nullptr) m->sendRequestFromScript(args, METHOD_POST);
372 return var();
373}
374
375void HTTPModule::run()
376{

Callers

nothing calls this directly

Calls 1

sendRequestFromScriptMethod · 0.80

Tested by

no test coverage detected