class HAR::Cookie

Included Modules

Defined in:

har/cookie.cr

Constructors

Instance Method Summary

Constructor Detail

def self.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) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(http_cookie : HTTP::Cookie) #

[View source]

Instance Method Detail

def comment : String | Nil #

A comment provided by the user or the application.


[View source]
def comment=(comment : String | Nil) #

A comment provided by the user or the application.


[View source]
def domain : String | Nil #

The host of the cookie.


[View source]
def domain=(domain : String | Nil) #

The host of the cookie.


[View source]
def expires : Time | String | Nil #

[View source]
def expires=(expires : Time | String | Nil) #

[View source]
def http_only : Bool | Nil #

[View source]
def http_only=(http_only : Bool | Nil) #

[View source]
def http_only? : Bool #

[View source]
def name : String #

The name of the cookie.


[View source]
def name=(name : String) #

The name of the cookie.


[View source]
def path : String | Nil #

The path pertaining to the cookie.


[View source]
def path=(path : String | Nil) #

The path pertaining to the cookie.


[View source]
def secure : Bool | Nil #

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


[View source]
def secure=(secure : Bool | Nil) #

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


[View source]
def secure? : Bool #

[View source]
def to_http_cookie : HTTP::Cookie #

[View source]
def value : String #

The cookie value.


[View source]
def value=(value : String) #

The cookie value.


[View source]