5#ifndef MOLYBDEN_COOKIE_STORE_HPP
6#define MOLYBDEN_COOKIE_STORE_HPP
39 virtual std::shared_ptr<Profile>
profile() = 0;
48 virtual std::vector<Cookie>
list() = 0;
59 virtual std::vector<Cookie>
list(
const std::string& url) = 0;
A service that allows working with the session and persistent cookies.
Definition cookies.hpp:32
virtual void deleteCookie(const Cookie &cookie)=0
Deletes all the cookies from the cookie store and returns the number of deleted cookies.
virtual void setCookie(const Cookie &cookie)=0
Sets the cookie.
virtual std::vector< Cookie > list()=0
Returns a list of all the cookies available in the cookie store.
virtual void deleteAll()=0
Deletes the given cookie from the cookie store.
virtual void persist()=0
Persists all the changes performed to the cookie store.
virtual std::vector< Cookie > list(const std::string &url)=0
Returns a list of cookies for the given url.
virtual std::shared_ptr< Profile > profile()=0
The profile of this cookie store.
An HTTP cookie.
Definition cookie.hpp:48