Skip to content

Conversation

@wavesoft
Copy link

This patch solves a bug on SimpleStreamHelper::SynchronousRequest( ) and adds some new features on SimpleStreams. Namely:

  1. Adds a HttpProgressCallback that can be registered using BrowserStreamRequest::setProgressCallback( ) in order to receive feedback regarding the download progress.
  2. Adds a HttpChunkCallback that can be registered on the BrowserStreamRequest::setChunkCallback( ) in order to implement a custom data receiving function.
  3. Adds a HttpCompletedCallback that can be registered on the BrowserStreamRequest::setCompletedCallback( ) in order forward the notification of download completion.

The HttpProgressCallback can even be used with the classic HttpCallback interface.

Ioannis Charalampidis added 5 commits June 26, 2013 11:41
Added progress and data chunk feedback
Fixed a bug on SimpleStreamHelper::SynchronousRequest
Integrating the more advanced SimpleStreamHelper interface with other
components of FireBreath core.
Using FB::BrowserStream->getLength() instead of custom header parsing
function.
@taxilian
Copy link
Member

I'm sorry, I recently discovered that I haven't been getting notified of pull requests and have been so busy the last 6-8 months I didn't notice. Could you rebase this on master and then push -f so that I have a clean request that can be merged?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants