mirror of
https://gitee.com/TarsCloud/TarsCpp.git
synced 2024-12-22 22:16:38 +08:00
support server cookie
This commit is contained in:
parent
64fb9f7e63
commit
1b4d58b290
@ -53,7 +53,7 @@ public:
|
||||
/**
|
||||
* 获取cookie
|
||||
*/
|
||||
static const map<string, string> & getCookie()
|
||||
static map<string, string> & getCookie()
|
||||
{
|
||||
ServantProxyThreadData * td = ServantProxyThreadData::getData();
|
||||
assert(NULL != td);
|
||||
|
@ -234,7 +234,7 @@ public:
|
||||
/**
|
||||
* 获取cookie
|
||||
*/
|
||||
const map<string, string> & getCookie()
|
||||
map<string, string> & getCookie()
|
||||
{
|
||||
return _cookie;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user