MCPcopy Create free account
hub / github.com/ElementsProject/elements / trigger

Method trigger

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

Source from the content-addressed store, hash-verified

502 event_free(ev);
503}
504void HTTPEvent::trigger(struct timeval* tv)
505{
506 if (tv == nullptr)
507 event_active(ev, 0, 0); // immediately trigger event in main thread
508 else
509 evtimer_add(ev, tv); // trigger after timeval passed
510}
511HTTPRequest::HTTPRequest(struct evhttp_request* _req, bool _replySent) : req(_req), replySent(_replySent)
512{
513}

Callers 3

WriteReplyMethod · 0.80
HTTPRPCTimerMethod · 0.80
BumpFeeFunction · 0.80

Calls

no outgoing calls

Tested by 1

BumpFeeFunction · 0.64