Cookie

Methods Summary

TypeNameSummary

Returns the cookie domain..

Returns the cookie name..

Returns the cookie path..

Returns the cookie secure attribute..

Returns the cookie value..

Methods Details

getDomain()

Returns the cookie domain.

Returns String

Sample

var cookie = client.getCookie('cookieName')
var domain = cookie.getDomain();

getName()

Returns the cookie name.

Returns String

Sample

var cookie = client.getCookie('cookieName')
var name = cookie.getName();

getPath()

Returns the cookie path.

Returns String

Sample

var cookie = client.getCookie('cookieName')
var path = cookie.getPath();

getSecure()

Returns the cookie secure attribute.

Returns Boolean

Sample

var cookie = client.getCookie('cookieName')
var path = cookie.getSecure();

getValue()

Returns the cookie value.

Returns String

Sample

var cookie = client.getCookie('cookieName')
var value = cookie.getValue();

Last updated