cookieProtocol binding to operate with cookies on the current page. Usage1client.cookie([method][,args]).then(callback); Parameters Param Type Details methodoptional String request method argsoptional Object/String= contains cookie information if you want to set a cookie or contains name of cookie if you want to delete it Examplecookie.js1234567891011// get all cookiesclient.cookie(function(err,res) { ... });// set cookieclient.cookie('post', { name: 'myCookie', value: 'some content'});// delete cookieclient.cookie('delete','myCookie');