cpp-httplib/test
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
..
gtest Fixed warnings 2019-09-03 17:16:16 -04:00
www/dir Fixed build errors and adjusted a test case. 2017-06-28 19:36:48 -04:00
ca-bundle.crt Wildcard support for verifying server certificate. fix #87 2019-05-07 21:40:03 -04:00
image.jpg Add a file for test 2017-12-29 22:34:59 -05:00
Makefile Use -pthread 2019-07-09 22:31:55 -04:00
test.cc Added new Client::Get variant that combines a ContentReceiver with a new ResponseHandler 2019-09-14 14:55:12 +02:00
test.conf Fix small issues in tests and added some extra checks. 2018-07-31 22:08:38 +02:00
test.rootCA.conf setup test cases for client certificates 2019-06-07 01:23:22 +08:00
test.sln static file support. vc12 support. 2013-07-04 18:18:52 -04:00
test.vcxproj Revert test.vcproj. 2018-09-14 15:58:16 -04:00