Methods
findCookie
- findCookie(domain: string, path: string, key: string, cb: function): void
-
Parameters
-
domain: string
-
path: string
-
key: string
-
cb: function
-
- (err: Error | null, cookie: Cookie | null): void
-
Parameters
-
err: Error | null
-
cookie: Cookie | null
Returns void
Returns void
findCookies
- findCookies(domain: string, path: string, cb: function): void
-
Parameters
-
domain: string
-
path: string
-
cb: function
-
- (err: Error | null, cookie: Cookie[]): void
Returns void
getAllCookies
- getAllCookies(cb: function): void
-
Parameters
-
cb: function
-
- (err: Error | null, cookie: Cookie[]): void
Returns void
putCookie
- putCookie(cookie: Cookie, cb: function): void
-
Parameters
-
-
cb: function
-
- (err: Error | null): void
Returns void
removeCookie
- removeCookie(domain: string, path: string, key: string, cb: function): void
-
Parameters
-
domain: string
-
path: string
-
key: string
-
cb: function
-
- (err: Error | null): void
Returns void
removeCookies
- removeCookies(domain: string, path: string, cb: function): void
-
Parameters
-
domain: string
-
path: string
-
cb: function
-
- (err: Error | null): void
Returns void
updateCookie
- updateCookie(oldCookie: Cookie, newCookie: Cookie, cb: function): void
-
Parameters
-
-
-
cb: function
-
- (err: Error | null): void
Returns void