2019-03-12 10:21:35 +00:00
|
|
|
#pragma once
|
|
|
|
#include <drogon/HttpSimpleController.h>
|
|
|
|
using namespace drogon;
|
2019-04-07 04:15:02 +00:00
|
|
|
class PipeliningTest : public drogon::HttpSimpleController<PipeliningTest>
|
2019-03-12 10:21:35 +00:00
|
|
|
{
|
|
|
|
public:
|
2019-05-09 03:25:25 +00:00
|
|
|
virtual void asyncHandleHttpRequest(const HttpRequestPtr &req, std::function<void(const HttpResponsePtr &)> &&callback) override;
|
2019-03-12 10:21:35 +00:00
|
|
|
PATH_LIST_BEGIN
|
|
|
|
//list path definitions here;
|
|
|
|
PATH_ADD("/pipe", Get);
|
|
|
|
PATH_LIST_END
|
|
|
|
};
|