| 540 | } |
| 541 | |
| 542 | void 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 | |
| 547 | void HTTPRequest::WriteReplyChunk(std::string_view strReply) { |
| 548 | struct evbuffer *evb = evbuffer_new(); |
no test coverage detected