class

HAR::Cookie

Inherits JSON::Serializable < Reference < Object

Constructors

new(name : String, value : String, path : Nil | String = nil, domain : Nil | String = nil, expires : String | Time | Nil = nil, http_only : Bool | Nil = nil, secure : Bool | Nil = nil, comment : Nil | String = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

comment

A comment provided by the user or the application.

Source
comment=(comment : String | Nil)

A comment provided by the user or the application.

Source
domain

The host of the cookie.

Source
domain=(domain : String | Nil)

The host of the cookie.

Source
expires

Cookie expiration time (ISO 8601 - YYYY-MM-DDThh:mm:ss.sTZD, e.g. 2009-07-24T19:20:30.123+02:00).

NOTE: String type has been found in Chrome exports.

Source
expires=(expires : Time | String | Nil)

Cookie expiration time (ISO 8601 - YYYY-MM-DDThh:mm:ss.sTZD, e.g. 2009-07-24T19:20:30.123+02:00).

NOTE: String type has been found in Chrome exports.

Source
http_only

true if the cookie is HTTP only, false otherwise.

Source
http_only=(http_only : Bool | Nil)

true if the cookie is HTTP only, false otherwise.

Source
http_only?
Source
name

The name of the cookie.

Source
name=(name : String)

The name of the cookie.

Source
path

The path pertaining to the cookie.

Source
path=(path : String | Nil)

The path pertaining to the cookie.

Source
secure

true if the cookie was transmitted over ssl, false otherwise.

Source
secure=(secure : Bool | Nil)

true if the cookie was transmitted over ssl, false otherwise.

Source
secure?
Source
value

The cookie value.

Source
value=(value : String)

The cookie value.

Source