add support for more cookie flags in Request::AddCookie() method
changed in config options: - renamed: http_session_id_name to session_cookie_name - add config options: session_cookie_path, session_cookie_domain, session_cookie_same_site, session_cookie_http_only, session_cookie_secure
This commit is contained in:
@@ -1055,6 +1055,22 @@ bool is_in_list_generic(const std::wstring & item, const ContainerType & list)
|
||||
}
|
||||
|
||||
|
||||
void cookie_same_site_to_stream(CookieSameSite same_site, pt::Stream & stream);
|
||||
|
||||
|
||||
void prepare_cookie_string(
|
||||
pt::Stream & out_stream,
|
||||
const std::wstring * value_string = nullptr,
|
||||
const pt::Stream * value_stream = nullptr,
|
||||
pt::Date * expires = nullptr,
|
||||
const std::wstring * path = nullptr,
|
||||
const std::wstring * domain = nullptr,
|
||||
CookieSameSite cookie_same_site = CookieSameSite::samesite_notset,
|
||||
bool http_only = false,
|
||||
bool secure = false);
|
||||
|
||||
|
||||
|
||||
|
||||
} // namespace Winix
|
||||
|
||||
|
Reference in New Issue
Block a user