docs: clarify documentation about listening to progress events (#28892)

PR Close #28892
This commit is contained in:
Oscar Busk 2019-02-22 17:48:44 +01:00 committed by Ben Lesh
parent 8b9f03d9fa
commit 587ca854cc

View File

@ -865,6 +865,9 @@ with the `reportProgress` option set true to enable tracking of progress events.
Every progress event triggers change detection, so only turn them on if you truly intend to report progress in the UI.
When using [`HttpClient#request()`](api/common/http/HttpClient#request) with an HTTP method, configure with
[`observe: 'events'`](api/common/http/HttpClient#request) to see all events, including the progress of transfers.
</div>
Next, pass this request object to the `HttpClient.request()` method, which