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

Method set_path

src/cookie.cpp:59–62  ·  view source on GitHub ↗

Implementation of set_path method.

Source from the content-addressed store, hash-verified

57
58// Implementation of set_path method.
59curl::cookie *curl::cookie::set_path(const string& _path) NOEXCEPT {
60 this->path = _path.empty() ? "/" : _path;
61 return this;
62}
63
64// Implementation of set_path overloaded method.
65curl::cookie *curl::cookie::set_path(const char *_path) NOEXCEPT {

Callers 2

mainFunction · 0.80
cookieMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected