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

Method setCookie

lib_acl_cpp/src/http/HttpServletRequest.cpp:130–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128}
129
130void HttpServletRequest::setCookie(const char* name, const char* value)
131{
132 if (name == NULL || *name == 0 || value == NULL) {
133 return;
134 }
135 HttpCookie* cookie = dbuf_->create<HttpCookie, const char*,
136 const char*, dbuf_guard*> (name, value, dbuf_);
137 cookies_.push_back(cookie);
138}
139
140const std::vector<HttpCookie*>& HttpServletRequest::getCookies(void) const
141{

Callers

nothing calls this directly

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected