Public API

Namespaces

drogonAttribute.h armstrong@sweelia.com

Defines

Defines (CacheMap.h)

#defineWHEELS_NUM 4

CacheMap.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

#defineBUCKET_NUM_PER_WHEEL 200
#defineTICK_INTERVAL 1.0

Defines (HttpController.h)

#defineMETHOD_LIST_BEGIN static void initPathRouting()
{

HttpController.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 For more details on the class, see the wiki site (the 'HttpController' section)

Mentioned in

Getting Started / A very simple example

Controller Introduction / Controller HttpController / Generation

Controller Introduction / Controller HttpController / Usage

Controller Introduction / Controller HttpController / Parameters mapping

#defineMETHOD_ADD(method,pattern,...)
registerMethod(&method, pattern, {__VA_ARGS__}, true, #method)

Mentioned in

#defineADD_METHOD_TO(method,path_pattern,...)
registerMethod(&method, path_pattern, {__VA_ARGS__}, false, #method)

Mentioned in

#defineADD_METHOD_VIA_REGEX(method,regex,...)
registerMethodViaRegex(&method, regex, {__VA_ARGS__}, #method)

Mentioned in

#defineMETHOD_LIST_END return;
}

Mentioned in

Defines (HttpSimpleController.h)

#definePATH_LIST_BEGIN static void initPathRouting()
{

HttpSimpleController.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

Mentioned in

Getting Started / A very simple example

Quick Start / Dynamic Site

Controller Introduction / Controller

Controller Introduction / Controller HttpSimpleController

#definePATH_ADD(path,...)
registerSelf__(path, {__VA_ARGS__});

Mentioned in

#definePATH_LIST_END }

Mentioned in

Defines (WebSocketController.h)

#defineWS_PATH_LIST_BEGIN static void initPathRouting()
{

WebSocketController.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

Mentioned in

Controller Introduction / Controller WebSocketController / WebSocketController

#defineWS_PATH_ADD(path,...)
registerSelf__(path, {__VA_ARGS__});

Mentioned in

#defineWS_PATH_LIST_END }

Mentioned in






Add Discussion as Guest

Log in to DocsForge