8 #include <cppunit/TestCase.h>
9 #include <cppunit/TestFixture.h>
10 #include <cppunit/extensions/HelperMacros.h>
17 #include <condition_variable>
21 bool handle_response(std::shared_ptr<tasks::net::http_response> response);
26 bool handle_response(std::shared_ptr<tasks::net::http_response> response);
The net_io_task implements the base for socket based network tasks.
bool handle_event(tasks::worker *, int)
bool handle_response(std::shared_ptr< tasks::net::http_response > response)
CPPUNIT_TEST_SUITE(test_http_sender)
test_http_close_handler(tasks::net::socket &socket)
bool handle_response(std::shared_ptr< tasks::net::http_response > response)
net::socket & socket()
Provide access to the underlying socket object.
void requests_keepalive()