mirror of
https://github.com/yanyiwu/cppjieba.git
synced 2025-07-18 00:00:12 +08:00
17 lines
352 B
C++
17 lines
352 B
C++
#ifndef HUSKY_IREQUESTHANDLER_HPP
|
|
#define HUSKY_IREQUESTHANDLER_HPP
|
|
|
|
#include "HttpReqInfo.hpp"
|
|
|
|
namespace Husky {
|
|
class IRequestHandler {
|
|
public:
|
|
virtual ~IRequestHandler() {};
|
|
public:
|
|
virtual bool do_GET(const HttpReqInfo& httpReq, string& res) const = 0;
|
|
virtual bool do_POST(const HttpReqInfo& httpReq, string& res) const = 0;
|
|
};
|
|
}
|
|
|
|
#endif
|