class

HAR::PostData

Inherits JSON::Serializable < Reference < Object

This object describes posted data, if any (embedded in Request object).

NOTE: text and params fields are mutually exclusive.

Constructors

new(mime_type : Nil | String = nil, params : Nil | Array(HAR::Param) = nil, text : Nil | String = nil, comment : Nil | String = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

comment

A comment provided by the user or the application.

Source
comment=(comment : String | Nil)

A comment provided by the user or the application.

Source
http_params
Source
http_params=(http_params : URI::Params)
Source
mime_type

Mime type of posted data.

Source
mime_type=(mime_type : String | Nil)

Mime type of posted data.

Source
params

List of posted parameters (in case of URL encoded parameters).

Source
params=(params : Array(Param) | Nil)

List of posted parameters (in case of URL encoded parameters).

Source
text

Plain text posted data.

Source
text=(text : String | Nil)

Plain text posted data.

Source