Granada  1.54.0
Structured layer on top of C++ REST SDK for building server applications in C++. Granada implements sessions, server side plug-in framework, C++ OAuth 2.0 server, data storage access, server script running, server browsing.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Public Member Functions | List of all members
granada::http::session::RedisSessionFactory Class Reference

#include <redis_session.h>

Inheritance diagram for granada::http::session::RedisSessionFactory:
granada::http::session::SessionFactory

Public Member Functions

virtual std::unique_ptr
< granada::http::session::Session
Session_unique_ptr () override
 
virtual std::unique_ptr
< granada::http::session::Session
Session_unique_ptr (const web::http::http_request &request, web::http::http_response &response) override
 
virtual std::unique_ptr
< granada::http::session::Session
Session_unique_ptr (const web::http::http_request &request) override
 
virtual std::unique_ptr
< granada::http::session::Session
Session_unique_ptr (const std::string &token) override
 

Member Function Documentation

virtual std::unique_ptr<granada::http::session::Session> granada::http::session::RedisSessionFactory::Session_unique_ptr ( )
inlineoverridevirtual

Checks if session is open / valid. Can be used in case we want to open a session in case it does not exist, or in case it is timed out.

Reimplemented from granada::http::session::SessionFactory.

virtual std::unique_ptr<granada::http::session::Session> granada::http::session::RedisSessionFactory::Session_unique_ptr ( const web::http::http_request &  request,
web::http::http_response &  response 
)
inlineoverridevirtual

Checks if session is open / valid. Can be used in case we want to open a session in case it does not exist, or in case it is timed out.

Parameters
requestHTTP request.
responseHTTP response.

Reimplemented from granada::http::session::SessionFactory.

virtual std::unique_ptr<granada::http::session::Session> granada::http::session::RedisSessionFactory::Session_unique_ptr ( const web::http::http_request &  request)
inlineoverridevirtual

Checks if session is open / valid. Can be used in case we want to open a session in case it does not exist, or in case it is timed out.

Parameters
requestHTTP request.

Reimplemented from granada::http::session::SessionFactory.

virtual std::unique_ptr<granada::http::session::Session> granada::http::session::RedisSessionFactory::Session_unique_ptr ( const std::string &  token)
inlineoverridevirtual

Checks if session is open / valid. Can be used in case we want to open a session in case it does not exist, or in case it is timed out.

Parameters
tokenSession token.

Reimplemented from granada::http::session::SessionFactory.


The documentation for this class was generated from the following file: