this class can be used to send and receive data using the DataStream protocol
More...
#include <DataStreamClient.qm.dox.h>
|
auto | sendData () |
| this method returns data to be returned to the server
|
|
|
abstract auto | sendDataImpl () |
| reimplement this method in subclasses to support streamed data transfers
|
|
this class can be used to send and receive data using the DataStream protocol
◆ sendData()
auto DataStreamClient::DataStreamSendMessage::sendData |
( |
| ) |
|
this method returns data to be returned to the server
- Returns
- the data returned by this callback will be serialized to YAML and send via the DataStream protocol to the remote HTTP REST server in HTTP chunked format; when all data has been send then this callback should return nothing, which will close the chunked message and terminate the request
- Note
- When this method returns no value, it signifies the end of the streamed data transfer; this method calls sendDataImpl() to return the data
◆ sendDataImpl()
abstract auto DataStreamClient::DataStreamSendMessage::sendDataImpl |
( |
| ) |
|
|
private |
reimplement this method in subclasses to support streamed data transfers
- Returns
- the data returned by this callback will be serialized to YAML and send via the DataStream protocol to the remote HTTP REST server in HTTP chunked format; when all data has been send then this callback should return nothing, which will close the chunked message and terminate the request
- Note
- When this method returns no value, it signifies the end of the streamed data transfer
The documentation for this class was generated from the following file:
- doxygen/qlib/DataStreamClient/DataStreamClient.qm.dox.h