| 895 | } |
| 896 | |
| 897 | bool AsyncHttpClient::connect() |
| 898 | { |
| 899 | LOG_INFO("Connecting to %s:%u%s.", m_hostname.c_str(), m_port, m_uri.c_str()); |
| 900 | LOG_DEBUG("Available heap: %u", heap_caps_get_free_size(MALLOC_CAP_INTERNAL | MALLOC_CAP_DEFAULT)); |
| 901 | |
| 902 | return m_tcpClient.connect(m_hostname.c_str(), m_port, m_isSecure); |
| 903 | } |
| 904 | |
| 905 | void AsyncHttpClient::disconnect() |
| 906 | { |