MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / setHeaderMemory

Method setHeaderMemory

Libraries/Http/HttpConnection.cpp:787–791  ·  view source on GitHub ↗

------------------------------------------------------------------------------------------------------- HttpRequest -------------------------------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

785// HttpRequest
786//-------------------------------------------------------------------------------------------------------
787void HttpRequest::setHeaderMemory(Span<char> memory)
788{
789 resetIncoming(HttpParser::Type::Request, memory);
790 url = {};
791}
792
793void HttpRequest::reset()
794{

Callers 6

operator()Method · 0.80
HttpStaticConnectionFunction · 0.80
beginRequestSendMethod · 0.80
activateNewMethod · 0.80
assignToMethod · 0.80

Calls 1

resetMethod · 0.45

Tested by 1