MCPcopy Create free account
hub / github.com/LUX-Core/lux / trigger

Method trigger

src/httpserver.cpp:524–530  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 4

ChunkEndMethod · 0.80
ChunkMethod · 0.80
WriteReplyMethod · 0.80
HTTPRPCTimerMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected