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 | Protected Attributes | List of all members
granada::http::controller::Controller Class Reference

#include <controller.h>

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

Public Member Functions

virtual ~Controller ()
 
virtual pplx::task< void > open ()
 
virtual pplx::task< void > close ()
 

Protected Attributes

std::unique_ptr
< web::http::experimental::listener::http_listener > 
m_listener_
 

Detailed Description

Abstract class for controllers. Controllers process the HTTP requests.

Constructor & Destructor Documentation

virtual granada::http::controller::Controller::~Controller ( )
inlinevirtual

Member Function Documentation

virtual pplx::task<void> granada::http::controller::Controller::close ( )
inlinevirtual

Closes the listener.

virtual pplx::task<void> granada::http::controller::Controller::open ( )
inlinevirtual

Opens and returns the listener.

Member Data Documentation

std::unique_ptr<web::http::experimental::listener::http_listener> granada::http::controller::Controller::m_listener_
protected

Listener


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