cargowise-eadapter
Version:
CargoWise eAdapter client
8 lines (7 loc) • 304 B
TypeScript
/**
* Before sending an message string through the eAdapter, it needs to be gzipped and base64 encoded.
*
* @param message the xml string you wish to compress.
* @returns a promise resolving the compressed base64 string.
*/
export declare function compressMessage(message: string): Promise<string>;