1.1.0
Added
stubbingShouldBeSuccessful
property onTRON
, that allows setting up globally, will stubs succeed or not.encodingStrategy
property onTRON
instance, that is used to select encoding type based on HTTP Method.encodingStrategy
property onAPIRequest
, that will be filled withTRON
strategy on construction.
By default, for backwards compatibility reasons, we use ParameterEncoding.URL as a default strategy. This will change in next major release of TRON, which will use TRON.RESTEncodingStrategy
instead. This encoding strategy uses .JSON encoding for POST, PUT and PATCH requests, and .URL encoding for all other HTTP methods.
Deprecated
encoding
property onAPIRequest
. Please useencodingStrategy
property instead.