MCPcopy Create free account
hub / github.com/bitcoin-sv/bitcoin-sv / StartWritingChunks

Method StartWritingChunks

src/httpserver.cpp:542–545  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

540}
541
542void HTTPRequest::StartWritingChunks(int nStatus) {
543 HTTPEvent *ev = new HTTPEvent(eventBase, true, std::bind(evhttp_send_reply_start, req, nStatus, (const char *)nullptr));
544 ev->trigger(nullptr);
545}
546
547void HTTPRequest::WriteReplyChunk(std::string_view strReply) {
548 struct evbuffer *evb = evbuffer_new();

Callers 15

rest_headersFunction · 0.80
rest_mempool_contentsFunction · 0.80
rest_txFunction · 0.80
getblocktemplateFunction · 0.80
getrawtransactionFunction · 0.80
decoderawtransactionFunction · 0.80
sendrawtransactionsFunction · 0.80
queryBlacklistFunction · 0.80
JSONRPCExecBatchFunction · 0.80
getsafemodeinfoFunction · 0.80
getrawmempoolFunction · 0.80

Calls 1

triggerMethod · 0.80

Tested by

no test coverage detected