drogon/examples/simple_example/PipeliningTest.h

13 lines
402 B
C
Raw Normal View History

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