JUCE  v6.1.6 (6.0.8-1114)
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::WebInputStream::Listener Class Reference

Used to receive callbacks for POST data send progress. More...

#include <juce_WebInputStream.h>

Public Member Functions

virtual ~Listener ()=default
 Destructor. More...
 
virtual bool postDataSendProgress (WebInputStream &request, int bytesSent, int totalBytes)
 This method will be called periodically with updates on POST data upload progress. More...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ~Listener()

virtual juce::WebInputStream::Listener::~Listener ( )
virtualdefault

Destructor.

Member Function Documentation

◆ postDataSendProgress()

virtual bool juce::WebInputStream::Listener::postDataSendProgress ( WebInputStream request,
int  bytesSent,
int  totalBytes 
)
inlinevirtual

This method will be called periodically with updates on POST data upload progress.

Parameters
requestthe original request
bytesSentthe number of bytes sent so far
totalBytesthe total number of bytes to send
Returns
true to continue or false to cancel the upload

References juce::ignoreUnused().


The documentation for this class was generated from the following file: