| 508 | } |
| 509 | |
| 510 | void 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 | |
| 516 | void JSONRequest::PollCancel() { |
| 517 | assert(isLongPolling); |