class HAR::Response
- HAR::Response
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
har/json_mapping.crConstructors
- .new(status : Int32, statusText : String, httpVersion : String, content : Content, redirectURL : String = "", headersSize : Int32 | Nil = -1, bodySize : Int32 | Nil = -1)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #bodySize : Int32 | Nil
- #bodySize=(bodySize : Int32 | Nil)
- #comment : String | Nil
- #comment=(comment : String | Nil)
- #content : Content
- #content=(content : Content)
- #cookies : Array(Cookie)
- #cookies=(cookies : Array(Cookie))
- #headers : Array(Header)
- #headers=(headers : Array(Header))
- #headersSize : Int32 | Nil
- #headersSize=(headersSize : Int32 | Nil)
- #httpVersion : String
- #httpVersion=(httpVersion : String)
- #redirectURL : String | Nil
- #redirectURL=(redirectURL : String | Nil)
- #status : Int32
- #status=(status : Int32)
- #statusText : String | Nil
- #statusText=(statusText : String | Nil)
Constructor Detail
def self.new(status : Int32, statusText : String, httpVersion : String, content : Content, redirectURL : String = "", headersSize : Int32 | Nil = -1, bodySize : Int32 | Nil = -1)
#