MCPcopy Create free account
hub / github.com/MonaSolutions/MonaServer / writeContent

Method writeContent

MonaCore/sources/HTTP/HTTP.cpp:442–447  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

440
441 template <typename BufferClass, typename ...Args>
442 void writeContent(Args&&... args) {
443 UInt32 before = _buffer.size();
444 BufferClass::Append(_buffer,args ...);
445 if (_option == VALUE && _onCookie)
446 _onCookie(_key.c_str(),STR _buffer.data()+before,_buffer.size()-before);
447 }
448
449 enum Option {
450 NO = -2,

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected