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

Method PollPing

src/rpcserver.cpp:510–514  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

508}
509
510void JSONRequest::PollPing() {
511 assert(isLongPolling);
512 // send an empty space to the client to ensure that it's still alive.
513 req->Chunk(std::string(" "));
514}
515
516void JSONRequest::PollCancel() {
517 assert(isLongPolling);

Callers

nothing calls this directly

Calls 1

ChunkMethod · 0.80

Tested by

no test coverage detected