initial commit
This commit is contained in:
16
third_party/libhv/http/server/HttpMiddleware.h
vendored
Executable file
16
third_party/libhv/http/server/HttpMiddleware.h
vendored
Executable file
@@ -0,0 +1,16 @@
|
||||
#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_
|
||||
Reference in New Issue
Block a user