MCPcopy Create free account
hub / github.com/JosephP91/curlcpp / cookie

Method cookie

src/cookie.cpp:11–15  ·  view source on GitHub ↗

Implementation of constructor.

Source from the content-addressed store, hash-verified

9
10// Implementation of constructor.
11curl::cookie::cookie(const string& name, const string& value,
12 const cookie_datetime &datetime, const string& path, const string& domain, const bool secure) {
13
14 set_name(name)->set_value(value)->set_path(path)->set_domain(domain)->set_secure(secure)->set_datetime(datetime);
15}
16
17// Implementation of overloaded constructor.
18curl::cookie::cookie(const char *name, const char * value, const cookie_datetime &datetime,

Callers

nothing calls this directly

Calls 5

set_datetimeMethod · 0.80
set_secureMethod · 0.80
set_domainMethod · 0.80
set_pathMethod · 0.80
set_valueMethod · 0.80

Tested by

no test coverage detected