class HAR::Response
- HAR::Response
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
har/json_mapping.crConstructors
- .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)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #body_size : Int32 | Nil
- #body_size=(body_size : 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))
- #headers_size : Int32 | Nil
- #headers_size=(headers_size : Int32 | Nil)
- #http_version : String
- #http_version=(http_version : String)
- #redirect_url : String | Nil
- #redirect_url=(redirect_url : String | Nil)
- #status : Int32
- #status=(status : Int32)
- #status_text : String
- #status_text=(status_text : String)
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)
#