CompressionFormat Property

The compression format (if any) to use.

Syntax

ANSI (Cross Platform)
int GetCompressionFormat();
int SetCompressionFormat(int iCompressionFormat); Unicode (Windows) INT GetCompressionFormat();
INT SetCompressionFormat(INT iCompressionFormat);

Possible Values

CF_NONE(0), 
CF_ZLIB(1)
@property (nonatomic,readwrite,assign,getter=compressionFormat,setter=setCompressionFormat:) int compressionFormat;
- (int)compressionFormat;
- (void)setCompressionFormat:(int)newCompressionFormat;

Possible Values

CF_NONE(0), 
CF_ZLIB(1)
#define PID_AS2SENDER_COMPRESSIONFORMAT 24

IPWORKSEDI_EXTERNAL void* IPWORKSEDI_CALL IPWorksEDI_AS2Sender_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSEDI_EXTERNAL int IPWORKSEDI_CALL IPWorksEDI_AS2Sender_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

0

Remarks

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

Integer

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