HDK
|
#include <NET_NetworkCookieStore.h>
Classes | |
struct | PrivateCtorTag |
class | UniqueKey |
Public Types | |
enum | StoragePolicy { NoPersistentCookies, AllowPersistentCookies, ForcePersistentCookies } |
using | CookieList = UT_Array< NET_NetworkCookie > |
using | iterator = CookieList::iterator |
using | const_iterator = CookieList::const_iterator |
Static Public Member Functions | |
template<typename ExecutionContext , typename = typename std::enable_if_t<std::is_convertible_v< ExecutionContext &, hboost::asio::execution_context &>>> | |
static UT_SharedPtr < NET_NetworkCookieStore > | create (ExecutionContext &ctx, const UT_StringHolder &filename, StoragePolicy policy) |
static UT_SharedPtr < NET_NetworkCookieStore > | create (const ASIO_AnyExecutor &exc, const UT_StringHolder &filename, StoragePolicy policy) |
template<typename ExecutionContext , typename = typename std::enable_if_t<std::is_convertible_v< ExecutionContext &, hboost::asio::execution_context &>>> | |
static UT_SharedPtr < NET_NetworkCookieStore > | create (ExecutionContext &ctx) |
static UT_SharedPtr < NET_NetworkCookieStore > | create (const ASIO_AnyExecutor &exc) |
Definition at line 90 of file NET_NetworkCookieStore.h.
Definition at line 102 of file NET_NetworkCookieStore.h.
Definition at line 100 of file NET_NetworkCookieStore.h.
Definition at line 101 of file NET_NetworkCookieStore.h.
Enumerator | |
---|---|
NoPersistentCookies | |
AllowPersistentCookies | |
ForcePersistentCookies |
Definition at line 104 of file NET_NetworkCookieStore.h.
|
inline |
Definition at line 151 of file NET_NetworkCookieStore.h.
NET_NetworkCookieStore::~NET_NetworkCookieStore | ( | ) |
CookieList NET_NetworkCookieStore::allCookies | ( | ) | const |
void NET_NetworkCookieStore::attachObserver | ( | const UT_SharedPtr< NET_INetworkCookieStoreObserver > & | observer | ) |
void NET_NetworkCookieStore::configure | ( | const UT_StringHolder & | storage, |
StoragePolicy | policy | ||
) |
CookieList NET_NetworkCookieStore::cookiesForUrl | ( | const UT_Url & | url | ) | const |
|
inlinestatic |
Definition at line 165 of file NET_NetworkCookieStore.h.
|
inlinestatic |
Definition at line 172 of file NET_NetworkCookieStore.h.
|
inlinestatic |
Definition at line 187 of file NET_NetworkCookieStore.h.
|
inlinestatic |
Definition at line 192 of file NET_NetworkCookieStore.h.
void NET_NetworkCookieStore::debugPrintStore | ( | ) | const |
void NET_NetworkCookieStore::deleteAllCookies | ( | ) |
bool NET_NetworkCookieStore::deleteCookie | ( | const NET_NetworkCookie & | cookie | ) |
void NET_NetworkCookieStore::detachObserver | ( | const UT_SharedPtr< NET_INetworkCookieStoreObserver > & | observer | ) |
bool NET_NetworkCookieStore::filter | ( | NET_CookieList & | cookies, |
const UT_StringRef & | name | ||
) | const |
UT_Optional<NET_NetworkCookie> NET_NetworkCookieStore::find | ( | const NET_NetworkCookie & | cookie | ) | const |
Find a cookie in the cookie store based on the cookie identifier.
bool NET_NetworkCookieStore::flush | ( | ) |
bool NET_NetworkCookieStore::insertCookie | ( | const NET_NetworkCookie & | cookie | ) |
bool NET_NetworkCookieStore::load | ( | ) |
void NET_NetworkCookieStore::notifyInsert_ | ( | const NET_NetworkCookie & | cookie | ) |
bool NET_NetworkCookieStore::setCookiesFromUrl | ( | const CookieList & | cookies, |
const UT_Url & | url | ||
) |
void NET_NetworkCookieStore::setStoragePolicy | ( | StoragePolicy | policy | ) |
void NET_NetworkCookieStore::shutdown | ( | ) |
bool NET_NetworkCookieStore::updateCookie | ( | const NET_NetworkCookie & | cookie | ) |
bool NET_NetworkCookieStore::updateCookieAccess | ( | const NET_NetworkCookie & | cookie | ) |
NET_NetworkCookieStore::UT_NON_COPYABLE | ( | NET_NetworkCookieStore | ) |