Implementation of set_path method.
| 57 | |
| 58 | // Implementation of set_path method. |
| 59 | curl::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. |
| 65 | curl::cookie *curl::cookie::set_path(const char *_path) NOEXCEPT { |