Golos
Разработчикам Статистика Баунти Документация Партнеры Github
Public Member Functions | Public Attributes | List of all members
golos::application::api_context Struct Reference

#include <api_context.hpp>

Public Member Functions

 api_context (application &_app, const std::string &_api_name, std::weak_ptr< api_session_data > _session)
 

Public Attributes

applicationapp
 
std::string api_name
 
std::weak_ptr< api_session_datasession
 

Detailed Description

Contains information needed by API class constructors.

Definition at line 36 of file api_context.hpp.

Constructor & Destructor Documentation

◆ api_context()

golos::application::api_context::api_context ( application _app,
const std::string &  _api_name,
std::weak_ptr< api_session_data _session 
)

Definition at line 40 of file application.cpp.

Member Data Documentation

◆ api_name

std::string golos::application::api_context::api_name

Definition at line 40 of file api_context.hpp.

◆ app

application& golos::application::api_context::app

Definition at line 39 of file api_context.hpp.

◆ session

std::weak_ptr<api_session_data> golos::application::api_context::session

Definition at line 41 of file api_context.hpp.


The documentation for this struct was generated from the following files: