MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / trigger

Method trigger

src/httpserver.cpp:522–528  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

520 event_free(ev);
521}
522void HTTPEvent::trigger(struct timeval* tv)
523{
524 if (tv == nullptr)
525 event_active(ev, 0, 0); // immediately trigger event in main thread
526 else
527 evtimer_add(ev, tv); // trigger after timeval passed
528}
529HTTPRequest::HTTPRequest(struct evhttp_request* _req) : req(_req),
530 replySent(false)
531{

Callers 3

WriteReplyMethod · 0.80
HTTPRPCTimerMethod · 0.80
BumpFeeFunction · 0.80

Calls

no outgoing calls

Tested by 1

BumpFeeFunction · 0.64