Public API

Namespaces

drogonAttribute.h armstrong@sweelia.com

Defines

Defines (CacheMap.h)

WHEELS_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

BUCKET_NUM_PER_WHEEL 200

TICK_INTERVAL 1.0

Defines (HttpController.h)

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

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

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

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

METHOD_LIST_END return;
}

Defines (HttpSimpleController.h)

PATH_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

PATH_ADD(path,...)
registerSelf__(path, {__VA_ARGS__});

PATH_LIST_END }

Defines (WebSocketController.h)

WS_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

WS_PATH_ADD(path,...)
registerSelf__(path, {__VA_ARGS__});

WS_PATH_LIST_END }






Add Discussion as Guest

Log in to DocsForge