RequestObject struct has data (Encodable) and body (Data) properties that have a same purpose. They correspond encoded and not encoded version of the httpBody property of the URLRequest so body property is deleted from RequestObject and data property is encoded inside prepareURLRequest method.
Related issue
Related to: #91
Explanation of changes
Please delete options that are not relevant.
[x] New feature (non-breaking change which adds functionality)
Description
RequestObject struct has data (Encodable) and body (Data) properties that have a same purpose. They correspond encoded and not encoded version of the httpBody property of the URLRequest so body property is deleted from RequestObject and data property is encoded inside prepareURLRequest method.
Related issue
Related to: #91
Explanation of changes
Please delete options that are not relevant.