api documentation for tough-cookie (v2.3.2)

RFC6265 Cookies and Cookie Jar for node.js

table of contents

  1. module tough-cookie
    1. function tough-cookie.Cookie (options)
    2. function tough-cookie.CookieJar (store, options)
    3. function tough-cookie.MemoryCookieStore ()
    4. function tough-cookie.Store ()
    5. function tough-cookie.canonicalDomain (str)
    6. function tough-cookie.cookieCompare (a, b)
    7. function tough-cookie.defaultPath (path)
    8. function tough-cookie.domainMatch (str, domStr, canonicalize)
    9. function tough-cookie.formatDate (date)
    10. function tough-cookie.fromJSON (str)
    11. function tough-cookie.getPublicSuffix (domain)
    12. function tough-cookie.parse (str, options)
    13. function tough-cookie.parseDate (str)
    14. function tough-cookie.pathMatch (reqPath, cookiePath)
    15. function tough-cookie.permuteDomain (domain)
    16. function tough-cookie.permutePath (path)
    17. object tough-cookie.Cookie.prototype
    18. object tough-cookie.CookieJar.prototype
    19. object tough-cookie.MemoryCookieStore.prototype
    20. object tough-cookie.Store.prototype
    21. object tough-cookie.memstore
    22. object tough-cookie.pubsuffix
    23. object tough-cookie.store
  2. module tough-cookie.Cookie
    1. function tough-cookie.Cookie (options)
    2. function tough-cookie.Cookie.fromJSON (str)
    3. function tough-cookie.Cookie.parse (str, options)
    4. number tough-cookie.Cookie.cookiesCreated
    5. object tough-cookie.Cookie.serializableProperties
  3. module tough-cookie.Cookie.prototype
    1. boolean tough-cookie.Cookie.prototype.httpOnly
    2. boolean tough-cookie.Cookie.prototype.secure
    3. function tough-cookie.Cookie.prototype.TTL (now)
    4. function tough-cookie.Cookie.prototype.canonicalizedDomain ()
    5. function tough-cookie.Cookie.prototype.cdomain ()
    6. function tough-cookie.Cookie.prototype.clone ()
    7. function tough-cookie.Cookie.prototype.cookieString ()
    8. function tough-cookie.Cookie.prototype.expiryDate (now)
    9. function tough-cookie.Cookie.prototype.expiryTime (now)
    10. function tough-cookie.Cookie.prototype.inspect ()
    11. function tough-cookie.Cookie.prototype.isPersistent ()
    12. function tough-cookie.Cookie.prototype.setExpires (exp)
    13. function tough-cookie.Cookie.prototype.setMaxAge (age)
    14. function tough-cookie.Cookie.prototype.toJSON ()
    15. function tough-cookie.Cookie.prototype.toString ()
    16. function tough-cookie.Cookie.prototype.validate ()
    17. object tough-cookie.Cookie.prototype.creation
    18. object tough-cookie.Cookie.prototype.domain
    19. object tough-cookie.Cookie.prototype.extensions
    20. object tough-cookie.Cookie.prototype.hostOnly
    21. object tough-cookie.Cookie.prototype.lastAccessed
    22. object tough-cookie.Cookie.prototype.maxAge
    23. object tough-cookie.Cookie.prototype.path
    24. object tough-cookie.Cookie.prototype.pathIsDefault
    25. string tough-cookie.Cookie.prototype.expires
    26. string tough-cookie.Cookie.prototype.key
    27. string tough-cookie.Cookie.prototype.value
  4. module tough-cookie.CookieJar
    1. function tough-cookie.CookieJar (store, options)
    2. function tough-cookie.CookieJar.deserialize (strOrObj, store, cb)
    3. function tough-cookie.CookieJar.deserializeSync (strOrObj, store)
    4. function tough-cookie.CookieJar.fromJSON (strOrObj, store)
  5. module tough-cookie.CookieJar.prototype
    1. boolean tough-cookie.CookieJar.prototype.enableLooseMode
    2. boolean tough-cookie.CookieJar.prototype.rejectPublicSuffixes
    3. function tough-cookie.CookieJar.prototype._importCookies (serialized, cb)
    4. function tough-cookie.CookieJar.prototype._importCookiesSync ()
    5. function tough-cookie.CookieJar.prototype.clone (newStore, cb)
    6. function tough-cookie.CookieJar.prototype.cloneSync ()
    7. function tough-cookie.CookieJar.prototype.getCookieString ()
    8. function tough-cookie.CookieJar.prototype.getCookieStringSync ()
    9. function tough-cookie.CookieJar.prototype.getCookies (url, options, cb)
    10. function tough-cookie.CookieJar.prototype.getCookiesSync ()
    11. function tough-cookie.CookieJar.prototype.getSetCookieStrings ()
    12. function tough-cookie.CookieJar.prototype.getSetCookieStringsSync ()
    13. function tough-cookie.CookieJar.prototype.serialize (cb)
    14. function tough-cookie.CookieJar.prototype.serializeSync ()
    15. function tough-cookie.CookieJar.prototype.setCookie (cookie, url, options, cb)
    16. function tough-cookie.CookieJar.prototype.setCookieSync ()
    17. function tough-cookie.CookieJar.prototype.toJSON ()
    18. object tough-cookie.CookieJar.prototype.store
  6. module tough-cookie.MemoryCookieStore
    1. function tough-cookie.MemoryCookieStore ()
    2. function tough-cookie.MemoryCookieStore.super_ ()
  7. module tough-cookie.MemoryCookieStore.prototype
    1. boolean tough-cookie.MemoryCookieStore.prototype.synchronous
    2. function tough-cookie.MemoryCookieStore.prototype.findCookie (domain, path, key, cb)
    3. function tough-cookie.MemoryCookieStore.prototype.findCookies (domain, path, cb)
    4. function tough-cookie.MemoryCookieStore.prototype.getAllCookies (cb)
    5. function tough-cookie.MemoryCookieStore.prototype.inspect ()
    6. function tough-cookie.MemoryCookieStore.prototype.putCookie (cookie, cb)
    7. function tough-cookie.MemoryCookieStore.prototype.removeCookie (domain, path, key, cb)
    8. function tough-cookie.MemoryCookieStore.prototype.removeCookies (domain, path, cb)
    9. function tough-cookie.MemoryCookieStore.prototype.updateCookie (oldCookie, newCookie, cb)
    10. object tough-cookie.MemoryCookieStore.prototype.idx
  8. module tough-cookie.Store
    1. function tough-cookie.Store ()
  9. module tough-cookie.Store.prototype
    1. boolean tough-cookie.Store.prototype.synchronous
    2. function tough-cookie.Store.prototype.findCookie (domain, path, key, cb)
    3. function tough-cookie.Store.prototype.findCookies (domain, path, cb)
    4. function tough-cookie.Store.prototype.getAllCookies (cb)
    5. function tough-cookie.Store.prototype.putCookie (cookie, cb)
    6. function tough-cookie.Store.prototype.removeCookie (domain, path, key, cb)
    7. function tough-cookie.Store.prototype.removeCookies (domain, path, cb)
    8. function tough-cookie.Store.prototype.updateCookie (oldCookie, newCookie, cb)
  10. module tough-cookie.memstore
    1. function tough-cookie.memstore.MemoryCookieStore ()
  11. module tough-cookie.pathMatch
    1. function tough-cookie.pathMatch (reqPath, cookiePath)
  12. module tough-cookie.permuteDomain
    1. function tough-cookie.permuteDomain (domain)
  13. module tough-cookie.pubsuffix
    1. function tough-cookie.pubsuffix.getPublicSuffix (domain)
    2. object tough-cookie.pubsuffix.index
  14. module tough-cookie.store
    1. function tough-cookie.store.Store ()

module tough-cookie

function tough-cookie.Cookie (options)

function tough-cookie.CookieJar (store, options)

function tough-cookie.MemoryCookieStore ()

function tough-cookie.Store ()

function tough-cookie.canonicalDomain (str)

function tough-cookie.cookieCompare (a, b)

function tough-cookie.defaultPath (path)

function tough-cookie.domainMatch (str, domStr, canonicalize)

function tough-cookie.formatDate (date)

function tough-cookie.fromJSON (str)

function tough-cookie.getPublicSuffix (domain)

function tough-cookie.parse (str, options)

function tough-cookie.parseDate (str)

function tough-cookie.pathMatch (reqPath, cookiePath)

function tough-cookie.permuteDomain (domain)

function tough-cookie.permutePath (path)

module tough-cookie.Cookie

function tough-cookie.Cookie (options)

function tough-cookie.Cookie.fromJSON (str)

function tough-cookie.Cookie.parse (str, options)

module tough-cookie.Cookie.prototype

function tough-cookie.Cookie.prototype.TTL (now)

function tough-cookie.Cookie.prototype.canonicalizedDomain ()

function tough-cookie.Cookie.prototype.cdomain ()

function tough-cookie.Cookie.prototype.clone ()

function tough-cookie.Cookie.prototype.cookieString ()

function tough-cookie.Cookie.prototype.expiryDate (now)

function tough-cookie.Cookie.prototype.expiryTime (now)

function tough-cookie.Cookie.prototype.inspect ()

function tough-cookie.Cookie.prototype.isPersistent ()

function tough-cookie.Cookie.prototype.setExpires (exp)

function tough-cookie.Cookie.prototype.setMaxAge (age)

function tough-cookie.Cookie.prototype.toJSON ()

function tough-cookie.Cookie.prototype.toString ()

function tough-cookie.Cookie.prototype.validate ()

module tough-cookie.CookieJar

function tough-cookie.CookieJar (store, options)

function tough-cookie.CookieJar.deserialize (strOrObj, store, cb)

function tough-cookie.CookieJar.deserializeSync (strOrObj, store)

function tough-cookie.CookieJar.fromJSON (strOrObj, store)

module tough-cookie.CookieJar.prototype

function tough-cookie.CookieJar.prototype._importCookies (serialized, cb)

function tough-cookie.CookieJar.prototype._importCookiesSync ()

function tough-cookie.CookieJar.prototype.clone (newStore, cb)

function tough-cookie.CookieJar.prototype.cloneSync ()

function tough-cookie.CookieJar.prototype.getCookieString ()

function tough-cookie.CookieJar.prototype.getCookieStringSync ()

function tough-cookie.CookieJar.prototype.getCookies (url, options, cb)

function tough-cookie.CookieJar.prototype.getCookiesSync ()

function tough-cookie.CookieJar.prototype.getSetCookieStrings ()

function tough-cookie.CookieJar.prototype.getSetCookieStringsSync ()

function tough-cookie.CookieJar.prototype.serialize (cb)

function tough-cookie.CookieJar.prototype.serializeSync ()

function tough-cookie.CookieJar.prototype.setCookie (cookie, url, options, cb)

function tough-cookie.CookieJar.prototype.setCookieSync ()

function tough-cookie.CookieJar.prototype.toJSON ()

module tough-cookie.MemoryCookieStore

function tough-cookie.MemoryCookieStore ()

function tough-cookie.MemoryCookieStore.super_ ()

module tough-cookie.MemoryCookieStore.prototype

function tough-cookie.MemoryCookieStore.prototype.findCookie (domain, path, key, cb)

function tough-cookie.MemoryCookieStore.prototype.findCookies (domain, path, cb)

function tough-cookie.MemoryCookieStore.prototype.getAllCookies (cb)

function tough-cookie.MemoryCookieStore.prototype.inspect ()

function tough-cookie.MemoryCookieStore.prototype.putCookie (cookie, cb)

function tough-cookie.MemoryCookieStore.prototype.removeCookie (domain, path, key, cb)

function tough-cookie.MemoryCookieStore.prototype.removeCookies (domain, path, cb)

function tough-cookie.MemoryCookieStore.prototype.updateCookie (oldCookie, newCookie, cb)

module tough-cookie.Store

function tough-cookie.Store ()

module tough-cookie.Store.prototype

function tough-cookie.Store.prototype.findCookie (domain, path, key, cb)

function tough-cookie.Store.prototype.findCookies (domain, path, cb)

function tough-cookie.Store.prototype.getAllCookies (cb)

function tough-cookie.Store.prototype.putCookie (cookie, cb)

function tough-cookie.Store.prototype.removeCookie (domain, path, key, cb)

function tough-cookie.Store.prototype.removeCookies (domain, path, cb)

function tough-cookie.Store.prototype.updateCookie (oldCookie, newCookie, cb)

module tough-cookie.memstore

function tough-cookie.memstore.MemoryCookieStore ()

module tough-cookie.pathMatch

function tough-cookie.pathMatch (reqPath, cookiePath)

module tough-cookie.permuteDomain

function tough-cookie.permuteDomain (domain)

module tough-cookie.pubsuffix

function tough-cookie.pubsuffix.getPublicSuffix (domain)

module tough-cookie.store

function tough-cookie.store.Store ()

[ this document was created with utility2 ]