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

Method getMaxAge

lib_acl_cpp/src/http/HttpCookie.cpp:258–265  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

256}
257
258int HttpCookie::getMaxAge(void) const
259{
260 const char* ptr = getParam("Max-Age");
261 if (ptr == NULL || *ptr == 0) {
262 return -1;
263 }
264 return atoi(ptr);
265}
266
267const char* HttpCookie::getParam(const char* name,
268 bool case_insensitive /* = true */) const

Callers 1

mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected