CompressionFormat Property

The compression format (if any) to use.

Object Oriented Interface

public function getCompressionFormat();
public function setCompressionFormat($value);

Procedural Interface

ipworksedi_as2sender_get($res, 24 );
ipworksedi_as2sender_set($res, 24, $value );

Default Value



By default, outgoing data will not be compressed. Setting this property will instruct the class to compress the outgoing data using the indicated format.

Compression is highly recommended for large messages, as it will reduce network bandwidth and processing time required.

The compression algorithm used is Zlib, as required by RFC 3274 and defined in RFCs 1950 and 1951.

Data Type


Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks EDI 2020 PHP Edition - Version 20.0 [Build 8162]