36#ifdef _QX_ENABLE_QT_NETWORK
37#ifndef _QX_HTTP_SESSION_MANAGER_H_
38#define _QX_HTTP_SESSION_MANAGER_H_
51#ifdef _QX_NO_PRECOMPILED_HEADER
79 struct QxHttpSessionManagerImpl;
80 std::unique_ptr<QxHttpSessionManagerImpl>
m_pImpl;
List of parameters to compile and build QxOrm library.
HTTP request (headers + body)
HTTP response (headers + body)
HTTP session (https://www.qxorm.com/qxorm_en/manual.html#manual_998)
#define QX_DLL_EXPORT_QX_SINGLETON_HPP(x)
Concrete class to define a thread-safe singleton of QxOrm library.
qx::QxHttpRequest : HTTP request (headers + body)
qx::QxHttpResponse : HTTP response (headers + body)
qx::QxHttpSession : HTTP session (https://www.qxorm.com/qxorm_en/manual.html#manual_998)
qx::QxHttpSessionManager : HTTP session manager (https://www.qxorm.com/qxorm_en/manual....
void onCheckSessionTimeOut()
static void removeSession(qx::QxHttpRequest &request, qx::QxHttpResponse &response, const QByteArray &cookieName=QByteArray("qx_session_id"))
std::unique_ptr< QxHttpSessionManagerImpl > m_pImpl
Private implementation idiom.
static qx::QxHttpSession_ptr getSession(qx::QxHttpRequest &request, qx::QxHttpResponse &response, const QByteArray &cookieName=QByteArray("qx_session_id"), bool autoCreateSession=true)
virtual ~QxHttpSessionManager()
static qx::QxHttpSession_ptr createSession(qx::QxHttpRequest &request, qx::QxHttpResponse &response, const QByteArray &cookieName=QByteArray("qx_session_id"))
static void deleteSession(qx::QxHttpSession *p)
qx::QxSingleton<T> : concrete class to define a thread-safe singleton of type T
Root namespace for all QxOrm library features.
std::shared_ptr< QxHttpSession > QxHttpSession_ptr