finish();
return;
}
+ host = socket->peerhost();
+ port = socket->peerport();
// TODO sacar a la mierda?
connected();
while (!stop) {
}
switch (response.status_code) {
case HTTPMessage::OK:
- ok_received();
+ ok_received(response.get_body());
break;
default:
error_received(response.status_code);