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

Method writeHeader

MonaCore/sources/HTTP/HTTP.cpp:434–439  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

432private:
433
434 bool writeHeader() {
435 static const vector<const char*> Patterns({ "Domain=", "Path=", "Expires=", "Secure", "HttpOnly" });
436 if (_option >= 0)
437 String::Append(_buffer, "; ", Patterns[_option]);
438 return _option<=2;
439 }
440
441 template <typename BufferClass, typename ...Args>
442 void writeContent(Args&&... args) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected