Namespace drogon

Description

No description yet.

Namespaces

orm
plugin
utils

Classes

AttributesThis class represents the attributes stored in the HTTP request. One can add/get any type of data to/from an Attributes object.
CacheMapCache Map.
CallbackEntryA utility class for CacheMap.
Cookiethis class represents a cookie entity.
DrClassMapA map class which can create DrObjects from names.
DrObjecta class template to implement the reflection function of creating the class object by class name
DrObjectBaseThe base class for all drogon reflection classes.
DrTemplate
DrTemplateBaseThe templating engine class.
HttpAppFrameworkNo description but mentioned in...
HttpClientAsynchronous http client.
HttpControllerThe reflection base class template for HTTP controllers.
HttpControllerBaseThe base class for HTTP controllers.
HttpFileThis class represents a uploaded file by a HTTP request.
HttpFilterThe reflection base class template for filters.
HttpFilterBaseThe abstract base class for filters For more details on the class, see the wiki site (the 'Filter' section)
HttpRequestAbstract class for webapp developer to get or set the Http request;.
HttpResponseNo description but mentioned in...
HttpSimpleControllerThe reflection base class template for HTTP simple controllers.
HttpSimpleControllerBaseThe abstract base class for HTTP simple controllers.
HttpViewDataThis class represents the data set displayed in views.
IntranetIpFilterA filter that prohibit access from external networks.
IOThreadStorageUtility class for thread storage handling.
IsPlugin
LocalHostFilterA filter that prohibit access from other hosts.
MultiPartParserA parser class which help the user to get the files and the parameters in the multipart format request.
NotFoundThis class is used by the drogon to generate the 404 page. Users don't use this class directly.
OStringStream
PluginThe reflection base class for plugins.
PluginBaseThe abstract base class for plugins.
PubSubServiceThis class template implements a publish-subscribe pattern with multiple named topics.
RestfulControllerthis class is a helper class for the implementation of restful api controllers generated by the drogon_ctl command.
SessionThis class represents a session stored in the framework. One can get or set any type of data to a session object.
TopicThis class template presents an unnamed topic.
UploadFileThis class represents an upload file which will be transferred to the server via the multipart/form-data format
WebSocketClientWebSocket client abstract class.
WebSocketConnectionThe WebSocket connection abstract class.
WebSocketControllerThe reflection base class template for WebSocket controllers.
WebSocketControllerBaseThe abstract base class for WebSocket controllers.

Functions

appA wrapper of the instance() method.
fromRequestThis template is used to convert a request object to a custom type object. Users must specialize the template for a particular type.
fromResponseThis template is used to convert a response object to a custom type object. Users must specialize the template for a particular type.
getGitCommit
getVersion
toRequestThis 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 & >
toResponseThis 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
VersionNo description but mentioned in...
ContentType
HttpMethodNo description but mentioned in...
ReqResult
WebSocketMessageType
PluginStatus
CloseCode

Typedefs

using AttributesPtr = std::shared_ptr< Attributes >

using CallbackEntryPtr = std::shared_ptr< CallbackEntry >

using WeakCallbackEntryPtr = std::weak_ptr< CallbackEntry >

using CallbackBucket = std::unordered_set< CallbackEntryPtr >

using CallbackBucketQueue = std::deque< CallbackBucket >

using DrAllocFunc = std::function< DrObjectBase *()>

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 &)>

using DrTemplateData = HttpViewData

using HttpClientPtr = std::shared_ptr< HttpClient >

using FileUpload = MultiPartParser

In order to be compatible with old interfaces.

using SubscriberID = uint64_t

using SessionPtr = std::shared_ptr< Session >

Mentioned in

using WebSocketClientPtr = std::shared_ptr< WebSocketClient >

using WebSocketRequestCallback = std::function< void(ReqResult, const HttpResponsePtr &, const WebSocketClientPtr &)>

using WebSocketConnectionPtr = std::shared_ptr< WebSocketConnection >

Mentioned in

using WebSocketControllerBasePtr = std::shared_ptr< WebSocketControllerBase >

Variables

Source

Line 22 in lib/inc/drogon/Attribute.h.






Add Discussion as Guest

Log in to DocsForge