MCPcopy Create free account
hub / github.com/Raptor3um/raptoreum / trigger

Method trigger

src/httpserver.cpp:510–515  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

508}
509
510void HTTPEvent::trigger(struct timeval *tv) {
511 if (tv == nullptr)
512 event_active(ev, 0, 0); // immediately trigger event in main thread
513 else
514 evtimer_add(ev, tv); // trigger after timeval passed
515}
516
517HTTPRequest::HTTPRequest(struct evhttp_request *_req)
518 : req(_req), replySent(false) {

Callers 2

WriteReplyMethod · 0.80
HTTPRPCTimerMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected