*string send_error
send error string received
Definition: DataStreamRequestHandler.qm.dox.h:88
nothing recvData(auto data)
This is the concrete method called when data is received; it calls recvDataImpl() in turn...
hash< auto > getResponseHeaderMessageImpl()
returns the response header to the request
bool send_done
flag for when all data has been sent
Definition: DataStreamRequestHandler.qm.dox.h:82
nothing recvImpl(hash v)
calls the receive callback as returned by the DataStreamUtil module, which in turn calls recvDataImpl...
constructor(hash< auto > cx, *hash< auto > ah)
creates the chunked request handler according to the arguments
nothing recvDataDoneImpl(*string err)
this method is called when all data has been received
*hash< auto > getErrorResponse()
if an error occurred, then return a hash giving an error response, otherwise return nothing ...
the DataStreamRequestHandler namespace contains all the public objects in the DataStreamRequestHandle...
Definition: DataStreamRequestHandler.qm.dox.h:64
bool recv_done
flag for when all data has been received
Definition: DataStreamRequestHandler.qm.dox.h:79
nothing recvDataDone(*string err)
this method is called when all data has been received
this class implements a chunked request handler supporting the DataStream protocol ...
Definition: DataStreamRequestHandler.qm.dox.h:69
int err
HTTP status code for error response sent.
Definition: DataStreamRequestHandler.qm.dox.h:85
auto sendData()
This is the concrete method called when data is received; it calls recvDataImpl() in turn...
auto sendImpl()
calls the send callback as returned by the DataStreamUtil module, which in turn calls sendDataImpl() ...
code scb
the send callback as returned by the DataStreamUtil module
Definition: DataStreamRequestHandler.qm.dox.h:76
abstract auto sendDataImpl()
reimplement this method in subclasses to support streamed data transfers; when this method returns no...
abstract nothing recvDataImpl(auto data)
reimplement this method in subclasses to receive decoded and deserialized data
code rcb
the receive callback as returned by the DataStreamUtil module
Definition: DataStreamRequestHandler.qm.dox.h:73