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::controller::BrowserController Class Reference

#include <browser_controller.h>

Inheritance diagram for granada::http::controller::BrowserController:
granada::http::controller::Controller

Public Member Functions

 BrowserController (utility::string_t url)
 
 BrowserController (utility::string_t url, std::shared_ptr< granada::http::session::SessionFactory > &session_factory)
 
virtual ~BrowserController ()
 
- Public Member Functions inherited from granada::http::controller::Controller
virtual ~Controller ()
 
virtual pplx::task< void > open ()
 
virtual pplx::task< void > close ()
 

Additional Inherited Members

- Protected Attributes inherited from granada::http::controller::Controller
std::unique_ptr
< web::http::experimental::listener::http_listener > 
m_listener_
 

Detailed Description

Browses files in the server using web resource cache and responds with the requested file.

Constructor & Destructor Documentation

granada::http::controller::BrowserController::BrowserController ( utility::string_t  url)

Constructor

Parameters
urlURI the controller listens to.
granada::http::controller::BrowserController::BrowserController ( utility::string_t  url,
std::shared_ptr< granada::http::session::SessionFactory > &  session_factory 
)

Constructor

Parameters
urlURI the controller listens to.
session_factorySession factory. Allows to have a unique point for checking and setting sessions. Used to create a new session if it does not exist or if it is timed out.
virtual granada::http::controller::BrowserController::~BrowserController ( )
inlinevirtual

Destructor


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