1
0
mirror of synced 2025-04-21 22:25:55 +03:00
Steffen Schuemann 7e92ffec48 Added new Client::Get variant that combines a ContentReceiver with a new ResponseHandler
While trying to implement streaming of internet radio, where a ContentReceiver is needed to handle the audio data, I had the problem, that important information about the stream data is part of the HTTP header (e.g. size of audio chunks between meta data), so I added a ResponseHandler and a new Get variant, to gain access to the header before handling the first chunk of data.

The ResponseHandler can abort the request by returning false, in the same way as the ContentReceiver.

A test case was also added.
2019-09-14 14:55:12 +02:00
..
2019-09-03 17:16:16 -04:00
2017-12-29 22:34:59 -05:00
2019-07-09 22:31:55 -04:00
2013-07-04 18:18:52 -04:00
2018-09-14 15:58:16 -04:00