Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
HTTP::DefaultCookiePolicy
Inherits
HTTP::CookiePolicy
<
Reference
<
Object
Constructors
new
(allowed_domains :
Array
(
String
) |
Nil
= nil, blocked_domains :
Array
(
String
) = [] of
String
, secure_protocols :
Array
(
String
) = ["https", "wss"])
Source
Instance methods
accept?
(cookie :
HTTP::Cookie
, uri :
URI
) :
Bool
Source
allowed_domains
Source
blocked_domains
Source
return?
(entry :
HTTP::CookieJar::Entry
, uri :
URI
) :
Bool
Source
secure_protocols
Source