MCPcopy Create free account
hub / github.com/acl-dev/acl / get_cookies

Method get_cookies

lib_acl_cpp/src/http/http_request.cpp:1002–1012  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1000}
1001
1002const std::vector<HttpCookie*>* http_request::get_cookies() const
1003{
1004 if (cookies_ && cookie_inited_) {
1005 return cookies_;
1006 }
1007 const_cast<http_request*>(this)->create_cookies();
1008 if (! cookie_inited_) {
1009 return NULL;
1010 }
1011 return cookies_;
1012}
1013
1014const HttpCookie* http_request::get_cookie(const char* name,
1015 bool case_insensitive /* = true */) const

Callers

nothing calls this directly

Calls 1

create_cookiesMethod · 0.80

Tested by

no test coverage detected