struct Protocol::Network::BlockedSetCookieWithReason
- Protocol::Network::BlockedSetCookieWithReason
- Struct
- Value
- Object
Overview
A cookie which was not stored from a response with the corresponding reason.
Included Modules
- JSON::Serializable
Defined in:
protocol/network.crConstructors
Instance Method Summary
-
#blocked_reasons : Array(SetCookieBlockedReason)
The reason(s) this cookie was blocked.
-
#cookie : Cookie | Nil
The cookie object which represents the cookie which was not stored.
-
#cookie_line : String
The string representing this individual cookie as it would appear in the header.
Constructor Detail
Instance Method Detail
The cookie object which represents the cookie which was not stored. It is optional because sometimes complete cookie information is not available, such as in the case of parsing errors.
def cookie_line : String
#
The string representing this individual cookie as it would appear in the header. This is not the entire "cookie" or "set-cookie" header which could have multiple cookies.