class HAR::Response

Included Modules

Defined in:

har/json_mapping.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(status : Int32, status_text : String, http_version : String, content : HAR::Content, redirect_url : Nil | String = nil, headers_size : Int32 | Nil = -1, body_size : Int32 | Nil = -1) #

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

[View source]

Instance Method Detail

def body_size : Int32 | Nil #

[View source]
def body_size=(body_size : Int32 | Nil) #

[View source]
def comment : String | Nil #

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

[View source]
def content : Content #

[View source]
def content=(content : Content) #

[View source]
def cookies : Array(Cookie) #

[View source]
def cookies=(cookies : Array(Cookie)) #

[View source]
def headers : Array(Header) #

[View source]
def headers=(headers : Array(Header)) #

[View source]
def headers_size : Int32 | Nil #

[View source]
def headers_size=(headers_size : Int32 | Nil) #

[View source]
def http_version : String #

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

[View source]
def redirect_url : String | Nil #

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

[View source]
def status : Int32 #

[View source]
def status=(status : Int32) #

[View source]
def status_text : String #

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

[View source]