Namespace drogon

Description

Attribute.h armstrong@sweelia.com

Copyright 2018, An Tao. All rights reserved. https://github.com/an-tao/drogon Use of this source code is governed by a MIT license that can be found in the License file.

Drogon

Cookis.h An Tao

Copyright 2018, An Tao. All rights reserved. https://github.com/an-tao/drogon Use of this source code is governed by a MIT license that can be found in the License file.

Drogon

DrClassMap.h An Tao

Copyright 2018, An Tao. All rights reserved. https://github.com/an-tao/drogon Use of this source code is governed by a MIT license that can be found in the License file.

Drogon

DrObject.h An Tao

Copyright 2018, An Tao. All rights reserved. https://github.com/an-tao/drogon Use of this source code is governed by a MIT license that can be found in the License file.

Drogon

drogon_callbacks.h An Tao

Copyright 2018, An Tao. All rights reserved. https://github.com/an-tao/drogon Use of this source code is governed by a MIT license that can be found in the License file.

Drogon

DrTemplate.h An Tao

Copyright 2018, An Tao. All rights reserved. https://github.com/an-tao/drogon Use of this source code is governed by a MIT license that can be found in the License file.

Drogon

DrTemplateBase.h An Tao

Copyright 2018, An Tao. All rights reserved. https://github.com/an-tao/drogon Use of this source code is governed by a MIT license that can be found in the License file.

Drogon

HttpBinder.h An Tao

Copyright 2018, An Tao. All rights reserved. https://github.com/an-tao/drogon Use of this source code is governed by a MIT license that can be found in the License file.

Drogon The classes in the file are internal tool classes. Do not include this file directly and use any of these classes directly.

HttpFilter.h An Tao

Copyright 2018, An Tao. All rights reserved. https://github.com/an-tao/drogon Use of this source code is governed by a MIT license that can be found in the License file.

Drogon

HttpRequest.h An Tao

Copyright 2018, An Tao. All rights reserved. https://github.com/an-tao/drogon Use of this source code is governed by a MIT license that can be found in the License file.

Drogon

HttpResponse.h An Tao

Copyright 2018, An Tao. All rights reserved. https://github.com/an-tao/drogon Use of this source code is governed by a MIT license that can be found in the License file.

Drogon

HttpTypes.h An Tao

Copyright 2018, An Tao. All rights reserved. https://github.com/an-tao/drogon Use of this source code is governed by a MIT license that can be found in the License file.

Drogon

HttpViewData.h An Tao

Copyright 2018, An Tao. All rights reserved. https://github.com/an-tao/drogon Use of this source code is governed by a MIT license that can be found in the License file.

Drogon

IntranetIpFilter.h An Tao

Copyright 2018, An Tao. All rights reserved. https://github.com/an-tao/drogon Use of this source code is governed by a MIT license that can be found in the License file.

Drogon

IOThreadStorage.h Daniel Mensinger

Copyright 2019, Daniel Mensinger. All rights reserved. https://github.com/an-tao/drogon Use of this source code is governed by a MIT license that can be found in the License file.

Drogon

LocalHostFilter.h An Tao

Copyright 2018, An Tao. All rights reserved. https://github.com/an-tao/drogon Use of this source code is governed by a MIT license that can be found in the License file.

Drogon

MultiPart.h An Tao

Copyright 2018, An Tao. All rights reserved. https://github.com/an-tao/drogon Use of this source code is governed by a MIT license that can be found in the License file.

Drogon

NotFound.h An Tao

Copyright 2018, An Tao. All rights reserved. https://github.com/an-tao/drogon Use of this source code is governed by a MIT license that can be found in the License file.

Drogon

Plugin.h An Tao

Copyright 2018, An Tao. All rights reserved. https://github.com/an-tao/drogon Use of this source code is governed by a MIT license that can be found in the License file.

Drogon

drogon_plugin_SecureSSLRedirector.h

PubSubService.h An Tao

Copyright 2018, An Tao. All rights reserved. https://github.com/an-tao/drogon Use of this source code is governed by a MIT license that can be found in the License file.

Drogon

Session.h An Tao

Copyright 2018, An Tao. All rights reserved. https://github.com/an-tao/drogon Use of this source code is governed by a MIT license that can be found in the License file.

Drogon

UploadFile.h An Tao

Copyright 2018, An Tao. All rights reserved. https://github.com/an-tao/drogon Use of this source code is governed by a MIT license that can be found in the License file.

Drogon

any.h An Tao

Copyright 2018, An Tao. All rights reserved. https://github.com/an-tao/drogon Use of this source code is governed by a MIT license that can be found in the License file.

Drogon

FunctionTraits.h An Tao

Copyright 2018, An Tao. All rights reserved. https://github.com/an-tao/drogon Use of this source code is governed by a MIT license that can be found in the License file.

Drogon

HttpConstraint.h An Tao

Copyright 2018, An Tao. All rights reserved. https://github.com/an-tao/drogon Use of this source code is governed by a MIT license that can be found in the License file.

Drogon

OStringStream.h An Tao

Copyright 2018, An Tao. All rights reserved. https://github.com/an-tao/drogon Use of this source code is governed by a MIT license that can be found in the License file.

Drogon

string_view.h An Tao

Copyright 2018, An Tao. All rights reserved. https://github.com/an-tao/drogon Use of this source code is governed by a MIT license that can be found in the License file.

Drogon

Utilities.h An Tao

Copyright 2018, An Tao. All rights reserved. https://github.com/an-tao/drogon Use of this source code is governed by a MIT license that can be found in the License file.

Drogon

WebSocketClient.h An Tao

Copyright 2018, An Tao. All rights reserved. https://github.com/an-tao/drogon Use of this source code is governed by a MIT license that can be found in the License file.

Drogon

WebSocketConnection.h An Tao

Copyright 2018, An Tao. All rights reserved. https://github.com/an-tao/drogon Use of this source code is governed by a MIT license that can be found in the License file.

Drogon

Handling of SQL arrays.

DO NOT INCLUDE THIS FILE DIRECTLY; include drogon/orm/Field.h instead.

Copyright (c) 2018, Jeroen T. Vermeulen.

See COPYING for copyright license. If you did not receive a file called COPYING with this source code, please notify the distributor of this mistake, or contact the author.

DbClient.h An Tao

Copyright 2018, An Tao. All rights reserved. https://github.com/an-tao/drogon Use of this source code is governed by a MIT license that can be found in the License file.

Drogon

Definition of Drogon Db exception classes.

Copyright (c) 2003-2018, Jeroen T. Vermeulen.

See COPYING for copyright license. If you did not receive a file called COPYING with this source code, please notify the distributor of this mistake, or contact the author. Exception.h An Tao

Copyright 2018, An Tao. All rights reserved. https://github.com/an-tao/drogon Use of this source code is governed by a MIT license that can be found in the License file.

Drogon

Field.h An Tao

Copyright 2018, An Tao. All rights reserved. https://github.com/an-tao/drogon Use of this source code is governed by a MIT license that can be found in the License file.

Drogon

Mapper.h An Tao

Copyright 2018, An Tao. All rights reserved. https://github.com/an-tao/drogon Use of this source code is governed by a MIT license that can be found in the License file.

Drogon

RestfulController.h An Tao

Copyright 2018, An Tao. All rights reserved. https://github.com/an-tao/drogon Use of this source code is governed by a MIT license that can be found in the License file.

Drogon

Result.h An Tao

Copyright 2018, An Tao. All rights reserved. https://github.com/an-tao/drogon Use of this source code is governed by a MIT license that can be found in the License file.

Drogon

ResultIterator.h An Tao

Copyright 2018, An Tao. All rights reserved. https://github.com/an-tao/drogon Use of this source code is governed by a MIT license that can be found in the License file.

Drogon

Row.h An Tao

Copyright 2018, An Tao. All rights reserved. https://github.com/an-tao/drogon Use of this source code is governed by a MIT license that can be found in the License file.

Drogon

RowIterator.h An Tao

Copyright 2018, An Tao. All rights reserved. https://github.com/an-tao/drogon Use of this source code is governed by a MIT license that can be found in the License file.

Drogon

SqlBinder.h An Tao

Copyright 2018, An Tao. All rights reserved. https://github.com/an-tao/drogon Use of this source code is governed by a MIT license that can be found in the License file.

Drogon

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.
HttpAppFramework
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;.
HttpResponse
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.
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.

Structures

IsPlugin

Methods

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

Variables

Enums

enumHttpStatusCode
valkUnknown = 0
valk100Continue = 100
valk101SwitchingProtocols = 101
valk200OK = 200
valk201Created = 201
valk202Accepted = 202
valk203NonAuthoritativeInformation = 203
valk204NoContent = 204
valk205ResetContent = 205
valk206PartialContent = 206
valk300MultipleChoices = 300
valk301MovedPermanently = 301
valk302Found = 302
valk303SeeOther = 303
valk304NotModified = 304
valk305UseProxy = 305
valk307TemporaryRedirect = 307
valk308PermanentRedirect = 308
valk400BadRequest = 400
valk401Unauthorized = 401
valk402PaymentRequired = 402
valk403Forbidden = 403
valk404NotFound = 404
valk405MethodNotAllowed = 405
valk406NotAcceptable = 406
valk407ProxyAuthenticationRequired = 407
valk408RequestTimeout = 408
valk409Conflict = 409
valk410Gone = 410
valk411LengthRequired = 411
valk412PreconditionFailed = 412
valk413RequestEntityTooLarge = 413
valk414RequestURITooLarge = 414
valk415UnsupportedMediaType = 415
valk416RequestedRangeNotSatisfiable = 416
valk417ExpectationFailed = 417
valk421MisdirectedRequest = 421
valk425TooEarly = 425
valk426UpgradeRequired = 426
valk428PreconditionRequired = 428
valk429TooManyRequests = 429
valk431RequestHeaderFieldsTooLarge = 431
valk451UnavailableForLegalReasons = 451
valk500InternalServerError = 500
valk501NotImplemented = 501
valk502BadGateway = 502
valk503ServiceUnavailable = 503
valk504GatewayTimeout = 504
valk505HTTPVersionNotSupported = 505
valk510NotExtended = 510
enumVersion
valkUnknown = 0
valkHttp10
valkHttp11
enumContentType
valCT_NONE = 0
valCT_APPLICATION_JSON
valCT_TEXT_PLAIN
valCT_TEXT_HTML
valCT_APPLICATION_X_FORM
valCT_APPLICATION_X_JAVASCRIPT
valCT_TEXT_CSS
valCT_TEXT_XML
valCT_APPLICATION_XML
valCT_TEXT_XSL
valCT_APPLICATION_WASM
valCT_APPLICATION_OCTET_STREAM
valCT_APPLICATION_X_FONT_TRUETYPE
valCT_APPLICATION_X_FONT_OPENTYPE
valCT_APPLICATION_FONT_WOFF
valCT_APPLICATION_FONT_WOFF2
valCT_APPLICATION_VND_MS_FONTOBJ
valCT_APPLICATION_PDF
valCT_IMAGE_SVG_XML
valCT_IMAGE_PNG
valCT_IMAGE_JPG
valCT_IMAGE_GIF
valCT_IMAGE_XICON
valCT_IMAGE_ICNS
valCT_IMAGE_BMP
valCT_MULTIPART_FORM_DATA
valCT_CUSTOM
enumHttpMethod
valGet = 0
valPost
valPut
valDelete
valOptions
valPatch
valInvalid
enumReqResult
valOk
valBadResponse
valNetworkFailure
valBadServerAddress
valTimeout
enumWebSocketMessageType
valText
valBinary
valPing
valPong
valClose
valUnknown
enumPluginStatus
valNone
valInitializing
valInitialized
enumCloseCode
valkNormalClosure = 1000
valkEndpointGone = 1001
valkProtocolError = 1002
valkInvalidMessage = 1003
valkNone = 1005
valkAbnormally = 1006
valkWrongMessageContent = 1007
valkViolation = 1008
valkMessageTooBig = 1009
valkNeedMoreExtensions = 1010
valkUnexpectedCondition = 1011
valkTLSFailed = 1015

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
typedef std::shared_ptr< HttpRequest > HttpRequestPtr
using AdviceCallback = std::function< void(const HttpResponsePtr &)>
using AdviceChainCallback = std::function< void()>
using FilterCallback = std::function< void(const HttpResponsePtr &)>
using FilterChainCallback = std::function< void()>
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 >
using WebSocketClientPtr = std::shared_ptr< WebSocketClient >
using WebSocketRequestCallback = std::function< void(ReqResult, const HttpResponsePtr &, const WebSocketClientPtr &)>
using WebSocketConnectionPtr = std::shared_ptr< WebSocketConnection >
using WebSocketControllerBasePtr = std::shared_ptr< WebSocketControllerBase >

Source

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






Add Discussion as Guest

Log in to DocsForge