Namespace drogon
Description
No description yet.
Namespaces
orm | ||
plugin | ||
utils |
Classes
AsyncTask | Fires a coroutine and doesn't force waiting nor deallocates upon promise destructs | |
Attributes | This class represents the attributes stored in the HTTP request. One can add/get any type of data to/from an Attributes object. | |
await_result | ||
CacheMap | Cache Map. | |
CallbackAwaiter | Helper class that provides the infrastructure for turning callback into coroutines | |
CallbackAwaiter< void > | ||
CallbackEntry | A utility class for CacheMap. | |
Cookie | this class represents a cookie entity. | |
DrClassMap | A map class which can create DrObjects from names. | |
DrObject | a class template to implement the reflection function of creating the class object by class name | |
DrObjectBase | The base class for all drogon reflection classes. | |
DrTemplate | ||
DrTemplateBase | The templating engine class. | |
final_awaiter | ||
HttpAppFramework | Mentioned in
| |
HttpClient | Asynchronous http client. | |
HttpController | The reflection base class template for HTTP controllers. | |
HttpControllerBase | The base class for HTTP controllers. | |
HttpFile | This class represents a uploaded file by a HTTP request. | |
HttpFilter | The reflection base class template for filters. | |
HttpFilterBase | The abstract base class for filters For more details on the class, see the wiki site (the 'Filter' section) | |
HttpRequest | Abstract class for webapp developer to get or set the Http request;. | |
HttpResponse | Mentioned in
| |
HttpSimpleController | The reflection base class template for HTTP simple controllers. | |
HttpSimpleControllerBase | The abstract base class for HTTP simple controllers. | |
HttpViewData | This class represents the data set displayed in views. | |
IntranetIpFilter | A filter that prohibit access from external networks. | |
IOThreadStorage | Utility class for thread storage handling. | |
is_awaitable | ||
is_awaitable< T, std::void_t< decltype(internal::getAwaiter(std::declval< T >()))> > | ||
IsPlugin | ||
LocalHostFilter | A filter that prohibit access from other hosts. | |
MultiPartParser | A parser class which help the user to get the files and the parameters in the multipart format request. | |
NotFound | This class is used by the drogon to generate the 404 page. Users don't use this class directly. | |
OStringStream | ||
Plugin | The reflection base class for plugins. | |
PluginBase | The abstract base class for plugins. | |
PubSubService | This class template implements a publish-subscribe pattern with multiple named topics. | |
RestfulController | this class is a helper class for the implementation of restful api controllers generated by the drogon_ctl command. | |
Session | This class represents a session stored in the framework. One can get or set any type of data to a session object. | |
Task | ||
Task< void > | ||
Topic | This class template presents an unnamed topic. | |
UploadFile | This class represents an upload file which will be transferred to the server via the multipart/form-data format | |
WebSocketClient | WebSocket client abstract class. | |
WebSocketConnection | The WebSocket connection abstract class. | |
WebSocketController | The reflection base class template for WebSocket controllers. | |
WebSocketControllerBase | The abstract base class for WebSocket controllers. |
Functions
app | A wrapper of the instance() method. | |
co_future | ||
fromRequest overload | This template is used to convert a request object to a custom type object. Users must specialize the template for a particular type. | |
fromResponse overload | This template is used to convert a response object to a custom type object. Users must specialize the template for a particular type. | |
getGitCommit | ||
getVersion | ||
sleepCoro overload | ||
sync_wait | ||
toRequest overload | This template is used to create a request object from a custom type object by calling the newCustomHttpRequest(). Users must specialize the template for a particular type. | |
toRequest< const Json::Value & > | ||
toRequest< Json::Value & > | ||
toResponse overload | This template is used to create a response object from a custom type object by calling the newCustomHttpResponse(). Users must specialize the template for a particular type. | |
toResponse< const Json::Value & > | ||
toResponse< Json::Value & > |
Enums
HttpStatusCode | ||
Version | Mentioned in
| |
ContentType | ||
HttpMethod | Mentioned in
| |
ReqResult | ||
WebSocketMessageType | ||
PluginStatus | ||
CloseCode |
Typedefs
Typedefs (Attribute.h)
using AttributesPtr = std::shared_ptr< Attributes > |
Typedefs (CacheMap.h)
using CallbackEntryPtr = std::shared_ptr< CallbackEntry > | ||
using WeakCallbackEntryPtr = std::weak_ptr< CallbackEntry > | ||
using CallbackBucket = std::unordered_set< CallbackEntryPtr > | ||
using CallbackBucketQueue = std::deque< CallbackBucket > |
Typedefs (DrClassMap.h)
using DrAllocFunc = std::function< DrObjectBase *()> |
Typedefs (drogon_callbacks.h)
typedef std::shared_ptr< HttpResponse > HttpResponsePtr | Mentioned in:
| |
typedef std::shared_ptr< HttpRequest > HttpRequestPtr | Mentioned in:
| |
using AdviceCallback = std::function< void(const HttpResponsePtr &)> | Mentioned in:
| |
using AdviceChainCallback = std::function< void()> | Mentioned in:
| |
using FilterCallback = std::function< void(const HttpResponsePtr &)> | Mentioned in:
| |
using FilterChainCallback = std::function< void()> | Mentioned in:
| |
using HttpReqCallback = std::function< void(ReqResult, const HttpResponsePtr &)> |
Typedefs (DrTemplateBase.h)
using DrTemplateData = HttpViewData |
Typedefs (HttpClient.h)
using HttpClientPtr = std::shared_ptr< HttpClient > |
Typedefs (MultiPart.h)
using FileUpload = MultiPartParser | In order to be compatible with old interfaces. |
Typedefs (PubSubService.h)
using SubscriberID = uint64_t |
Typedefs (Session.h)
using SessionPtr = std::shared_ptr< Session > | Mentioned in:
|
Typedefs (coroutine.h)
template <typename T> |
Typedefs (WebSocketClient.h)
using WebSocketClientPtr = std::shared_ptr< WebSocketClient > | ||
using WebSocketRequestCallback = std::function< void(ReqResult, const HttpResponsePtr &, const WebSocketClientPtr &)> |
Typedefs (WebSocketConnection.h)
using WebSocketConnectionPtr = std::shared_ptr< WebSocketConnection > | Mentioned in:
|
Typedefs (WebSocketController.h)
using WebSocketControllerBasePtr = std::shared_ptr< WebSocketControllerBase > |
Variables
Variables (HttpAppFramework.h)
const char banner = " _ \n" " __| |_ __ ___ __ _ ___ _ __ \n" " / _` | '__/ _ \\ / _` |/ _ \\| '_ \\ \n" "| (_| | | | (_) | (_| | (_) | | | |\n" " \\__,_|_| \\___/ \\__, |\\___/|_| |_|\n" " |___/ \n" |
Variables (coroutine.h)
template <typename T> |
Source
Line 22 in lib/inc/drogon/Attribute.h.