Public API

Namespaces

drogon

Defines

Defines (CacheMap.h)

WHEELS_NUM 4

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)

Mentioned in

Getting Started / A very simple example

Controller Introduction / Controller HttpController / Generation

Controller Introduction / Controller HttpController / Usage

Controller Introduction / Controller HttpController / Parameters mapping

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

Mentioned in

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

Mentioned in

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

Mentioned in

METHOD_LIST_END return;
}

Mentioned in

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

Mentioned in

Getting Started / A very simple example

Quick Start / Dynamic Site

Controller Introduction / Controller

Controller Introduction / Controller HttpSimpleController

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

Mentioned in

PATH_LIST_END }

Mentioned in

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

Mentioned in

Controller Introduction / Controller WebSocketController / WebSocketController

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

Mentioned in

WS_PATH_LIST_END }

Mentioned in






Add Discussion as Guest

Log in to DocsForge