简体   繁体   中英

How to read cookie which is already set in browser using hapi.js

I do know how to write and then read the cookie using hapi.js. But my problem is I would like to know how to read the cookie which is set already in browser (by third party api) using hapi.js

Any help is appreciated

Use Request.state.<cookie-name> .

Below is the link to Hapi.js documentation - https://hapijs.com/api#request.state

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM