ClearCookie ClearCookie Expire a client cookie (or all cookies if left empty) func ( c * Ctx ) ClearCookie ( key ... string ) app . Get ( "/" , func ( c * fiber ....
ClearCookie ClearCookie Expire a client cookie (or all cookies if left empty) c . ClearCookie ( key ... string ) app . Get ( "/" , func ( c * fiber . Ctx ) { /...
csrf Description Attributes Enable Plugin note note Example usage Delete Plugin csrf Description The csrf Plugin can be used to protect your API against CSRF attacks u...
Cookies 配置服务器 设置一个 cookie 重载选项 获取一个 cookie 的值 清理一个 cookie Cookies 该教程适用于 hapi v17版本 当创建一个 web 应用时, cookies 通常用于保存一个用户在每个请求之间的状态。在 hapi 中, cookies 可以被灵活、安全以及便捷的使用。 配...
Handle Conversations with Sessions Installation Usage Multiple sessions Configuration Deciding how to configure sessions Cookie vs Header Client vs Server Baked snippets Sto...
ClearCookie ClearCookie Expire a client cookie (or all cookies if left empty) func ( c * Ctx ) ClearCookie ( key ... string ) app . Get ( "/" , func ( c * fiber ....
Cookies Set Cookie Set Encrypted Cookie Delete Cookie Cookies The Slim application provides helper methods to send cookies with the HTTP response. Set Cookie This example...