MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / addValue

Method addValue

test/test_emscripten_async_wget2.cpp:258–269  ·  view source on GitHub ↗

* Post */

Source from the content-addressed store, hash-verified

256* Post
257*/
258void http::addValue(const char* key, const char* value) {
259 if (_param.size() > 0) {
260 _param += "&";
261 _param += key;
262 _param += "=";
263 _param += value;
264 } else {
265 _param += key;
266 _param += "=";
267 _param += value;
268 }
269}
270
271void http::onLoaded(const char* file) {
272 if (strstr(file,"prepare")) {

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.65

Tested by

no test coverage detected