| 19 | } |
| 20 | |
| 21 | bool http_stream::on_connect(void) |
| 22 | { |
| 23 | client_.on_connect(*this); |
| 24 | printf(">>> begin send_request\r\n"); |
| 25 | |
| 26 | //this->ws_handshake(); |
| 27 | this->send_request(NULL, 0); |
| 28 | |
| 29 | return true; |
| 30 | } |
| 31 | |
| 32 | void http_stream::on_disconnect(void) |
| 33 | { |
no test coverage detected