Wt 3.1.10
|
A response continuation object. More...
#include <Wt/Http/ResponseContinuation>
Public Member Functions | |
void | setData (const boost::any &data) |
Set data associated with the continuation. | |
boost::any | data () |
Return data associated with the continuation. | |
WResource * | resource () const |
Return the resource. | |
Friends | |
class | Wt::WResource |
A response continuation object.
A response continuation object is used to keep track of a continued response, i.e. a response that is created in several parts.
You may associate data with the object using setData().
boost::any Wt::Http::ResponseContinuation::data | ( | ) |
Return data associated with the continuation.
void Wt::Http::ResponseContinuation::setData | ( | const boost::any & | data | ) |
Set data associated with the continuation.
You could do this to keep track of the state of sending the data for a WResource.