Used to receive callbacks for POST data send progress.
More...
Used to receive callbacks for POST data send progress.
Pass one of these into the connect() method and its postDataSendProgress() method will be called periodically with updates on POST data upload progress.
◆ ~Listener()
virtual WebInputStream::Listener::~Listener |
( |
| ) |
|
|
virtualdefault |
◆ postDataSendProgress()
virtual bool WebInputStream::Listener::postDataSendProgress |
( |
WebInputStream & | request, |
|
|
int | bytesSent, |
|
|
int | totalBytes ) |
|
virtual |
This method will be called periodically with updates on POST data upload progress.
- Parameters
-
request | the original request |
bytesSent | the number of bytes sent so far |
totalBytes | the total number of bytes to send |
- Returns
- true to continue or false to cancel the upload