MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / WriteHeader

Method WriteHeader

src/httpserver.cpp:673–676  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

671}
672
673void HTTPRequest::WriteHeader(std::string&& hdr, std::string&& value)
674{
675 m_response_headers.Write(std::move(hdr), std::move(value));
676}
677
678util::Expected<void, std::string> HTTPServer::BindAndStartListening(const CService& to)
679{

Callers 15

RESTERRFunction · 0.80
rest_headersFunction · 0.80
rest_spent_txoutsFunction · 0.80
rest_blockFunction · 0.80
rest_filter_headerFunction · 0.80
rest_block_filterFunction · 0.80
rest_chaininfoFunction · 0.80
rest_deploymentinfoFunction · 0.80
rest_mempoolFunction · 0.80
rest_txFunction · 0.80
rest_getutxosFunction · 0.80
rest_blockhash_by_heightFunction · 0.80

Calls 1

WriteMethod · 0.45

Tested by 1

FUZZ_TARGETFunction · 0.64