-
Notifications
You must be signed in to change notification settings - Fork 25k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(http): implement streaming upload/download #2795
Comments
since there wasn't an update in 6 months here, is there any information when this feature is going to be implemented? I want to build a server-sided push-service using a constant http-stream and would love this very much. |
This issue was moved to angular/http#77 |
Where is this issue being tracked now? |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
A user should be able to provide observers as part of a
Request
orRequestOptions
object in order to receive progress updates and chunks of data for uploading and downloading of data.Download observers will receive
Responses
, while upload observers will receive some form of Progress EventTo support different semantics of subscriptions between RxJS Observables and Dart Streams, an
Observer
implementation should be provided which will translate nicely to both platforms.The Response Observable returned from
Http
should still emit a singleResponse
value and complete when the connection closes.In order to perform the request without requiring a subscription on the
Response Observable
this feature would also require providing a means of specifying that the request should be executed immediately. This should be an additional property ofRequest
andRequestOptions
, name TBD.These observers can be tested with the
MockBackend
, using methods calledmockUpload
andmockDownload
.The text was updated successfully, but these errors were encountered: