提交 2c7f160e 编写于 作者: 诺离's avatar 诺离 🎨

增加返回数据类的各种功能

上级 1fdf9f63
......@@ -13,4 +13,8 @@
1. 完美解决托管类无法外部导出
2. 增加简单的返回数据监听回调
3. 增加替换返回的数据
4. 增加重写返回的数据
\ No newline at end of file
4. 增加重写返回的数据
5. 增加替换返回的cookie
6. 增加修改返回的状态码和文本
7. 增加删除返回的cookie
8. 增加给返回的数据添加cookie
\ No newline at end of file
B// efd.cpp: 定义 DLL 应用程序的导出函数。
......
......@@ -18,4 +18,8 @@ SetUpstreamGatewayTo
UpdateConfig
customCertificate
RecvRepeatHtml
RecvResetHtml
\ No newline at end of file
RecvResetHtml
RecvInsertBody
RecvInsertCookie
RecvRemoveCookie
RecvResetState
\ No newline at end of file
......@@ -30,11 +30,17 @@ extern "C" _declspec(dllexport) void __stdcall UpdateConfig(int);
extern "C" _declspec(dllexport) void __stdcall customCertificate(char*);
extern "C" _declspec(dllexport) int __stdcall RecvRepeatHtml(EFD_pmMessage*, char*, char*);
extern "C" _declspec(dllexport) int __stdcall RecvResetHtml(EFD_pmMessage*, char*);
extern "C" _declspec(dllexport) int __stdcall RecvInsertBody(EFD_pmMessage*, char*);
extern "C" _declspec(dllexport) int __stdcall RecvInsertCookie(EFD_pmMessage*, char*);
extern "C" _declspec(dllexport) int __stdcall RecvRemoveCookie(EFD_pmMessage*);
extern "C" _declspec(dllexport) int __stdcall RecvResetState(EFD_pmMessage*, char*, char*);
#define RECV_REPLACE_URL 2001
#define RECV_INSERT_BODY 2001
#define RECV_REPLACE_BODY 2002
#define RECV_RESET_BODY 2003
#define RECV_RESET_STATE 2004
#define RECV_RESET_COOKIE 2005
#define RECV_REMOVE_COOKIE 2004
#define RECV_INSERT_COOKIE 2005
#define RECV_RESET_STATE 2006
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册