emsApplication/3rdPartner/libhv/http/server/HttpMiddleware.h

17 lines
272 B
C
Raw Permalink Normal View History

2024-05-24 12:19:45 +08:00
#ifndef HV_HTTP_MIDDLEWARE_H_
#define HV_HTTP_MIDDLEWARE_H_
#include "hexport.h"
#include "HttpContext.h"
BEGIN_NAMESPACE_HV
class HttpMiddleware {
public:
static int CORS(HttpRequest* req, HttpResponse* resp);
};
END_NAMESPACE_HV
#endif // HV_HTTP_MIDDLEWARE_H_