CompressionFormat Property

The compression format (if any) to use.


 getCompressionFormat(): As2senderCompressionFormats;

 setCompressionFormat(compressionFormat: As2senderCompressionFormats): void;

enum As2senderCompressionFormats { cfNone, cfZLIB }

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.

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