aboutsummaryrefslogtreecommitdiff
path: root/COPYRIGHT
diff options
context:
space:
mode:
authorAlexander Tkachev2019-11-02 05:10:41 +0700
committerEugene Sandulenko2019-11-05 01:47:00 +0100
commitf7d9156967af8005543434c64430fdf06cab7033 (patch)
tree3eabce49f7d2432427c0f036c252f139dd5bb66c /COPYRIGHT
parentbc63abd3e198a07ae6af093ae5c472379b86a9aa (diff)
downloadscummvm-rg350-f7d9156967af8005543434c64430fdf06cab7033.tar.gz
scummvm-rg350-f7d9156967af8005543434c64430fdf06cab7033.tar.bz2
scummvm-rg350-f7d9156967af8005543434c64430fdf06cab7033.zip
NETWORKING: Enter SessionRequest
It is to be used in a Session, though it might be used separately. It must implement keep-alive, but it does not yet. You must not put it to ConnMan by yourself (instead, use start()) and you must call close() after you've finished using this request. You can either work with it in callback, or wait() and simply use its methods (check it's success() and then, for example, use text()). Like this: ``` Networking::SessionRequest *rq = new Networking::SessionRequest(url); rq->startAndWait(); if (rq->success()) warning("HTTP GET: %s", rq->text()); rq->close(); ```
Diffstat (limited to 'COPYRIGHT')
0 files changed, 0 insertions, 0 deletions