aim_server_cookie 0.0.1
aim_server_cookie: ^0.0.1 copied to clipboard
Cookie support for Aim framework with secure options like HttpOnly, SameSite, and expiration.
0.0.1 #
- Initial release of
aim_server_cookiepackage - Added
setCookie()method for setting cookies with full option support:- Path and Domain control
- Max-Age and Expires for expiration
- HttpOnly flag for XSS protection
- Secure flag for HTTPS-only cookies
- SameSite attribute (Strict, Lax, None) for CSRF protection
- Added
deleteCookie()method for easy cookie deletion - Support for multiple cookies in a single response
- Automatic HTTP date formatting (RFC 1123)
- Type-safe
CookieOptionsconfiguration - Complete example application demonstrating all features