Model
GzipConverter
Magento\SaaSCommon\Model\Http\Converter\GzipConverter
What it does
This class handles HTTP request and response body conversion for SaaS integrations by compressing JSON data using gzip encoding.
Developers use it to reduce bandwidth and improve performance when sending large amounts of data to Adobe Commerce SaaS services.
It automatically serializes data to JSON format and applies gzip compression before transmission.
Public Methods
- fromBody()
- toBody()
- getContentTypeHeader()
- getContentMediaType()
- getContentEncoding()