class HAR::PostData
- HAR::PostData
- Reference
- Object
Overview
This object describes posted data, if any (embedded in Request
object).
NOTE #text
and #params
fields are mutually exclusive.
Included Modules
- JSON::Serializable
Defined in:
har/post_data.crConstructors
- .new(pull : JSON::PullParser)
- .new(mime_type : Nil | String = nil, params : Nil | Array(HAR::Param) = nil, text : Nil | String = nil, comment : Nil | String = nil)
Instance Method Summary
-
#comment : String | Nil
A comment provided by the user or the application.
-
#comment=(comment : String | Nil)
A comment provided by the user or the application.
- #http_params : URI::Params
- #http_params=(http_params : URI::Params)
- #mime_type : String | Nil
- #mime_type=(mime_type : String | Nil)
-
#params : Array(Param) | Nil
List of posted parameters (in case of URL encoded parameters).
-
#params=(params : Array(Param) | Nil)
List of posted parameters (in case of URL encoded parameters).
-
#text : String | Nil
Plain text posted data.
-
#text=(text : String | Nil)
Plain text posted data.
Constructor Detail
def self.new(mime_type : Nil | String = nil, params : Nil | Array(HAR::Param) = nil, text : Nil | String = nil, comment : Nil | String = nil)
#
Instance Method Detail
List of posted parameters (in case of URL encoded parameters).
List of posted parameters (in case of URL encoded parameters).