StdPJ/Core/Src/Common/Shared/http_lib.c
/**
 * @brief   Tells whether an HTTP session is still open, or has been closed by the server.
 * @param   In: hnd   Session handle.
 * @retval  true:   The session is open.
 *          false:  The session is closed: the handle should be freed by calling http_close().
 */
@brief   Tells whether an HTTP session is still open, or has been closed by the server.
@param   In: hnd   Session handle.
@retval  true:   The session is open.
false:  The session is closed: the handle should be freed by calling http_close().
@brief Tells whether an HTTP session is still open or has been closed by the server . @param In : hnd Session handle . @retval true : The session is open . false : The session is closed : the handle should be freed by calling http_close () .
bool http_is_open(const http_handle_t hnd)
{
  http_context_t * pCtx = (http_context_t *) hnd;
  return pCtx->connection_is_open;
}
bool http_is_open ( const http_handle_t hnd ) { http_context_t * pCtx = ( http_context_t * ) hnd ; return pCtx -> connection_is_open ; }
@brief   Tells whether an HTTP session is still open, or has been closed by the server.
@brief Tells whether an HTTP session is still open or has been closed by the server .