UNPKG

@aws-sdk/middleware-flexible-checksums

Version:

[![NPM version](https://img.shields.io/npm/v/@aws-sdk/middleware-flexible-checksums/latest.svg)](https://www.npmjs.com/package/@aws-sdk/middleware-flexible-checksums) [![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/middleware-flexible-checksums.s

28 lines (27 loc) 832 B
import { BodyLengthCalculator, ChecksumConstructor, Encoder, GetAwsChunkedEncodingStream, HashConstructor, Provider, StreamCollector, StreamHasher, } from "@smithy/types"; import { RequestChecksumCalculation, ResponseChecksumValidation, } from "./constants"; export interface PreviouslyResolved { base64Encoder: Encoder; bodyLengthChecker: BodyLengthCalculator; getAwsChunkedEncodingStream: GetAwsChunkedEncodingStream; md5: ChecksumConstructor | HashConstructor; requestChecksumCalculation: Provider<RequestChecksumCalculation>; responseChecksumValidation: Provider<ResponseChecksumValidation>; sha1: ChecksumConstructor | HashConstructor; sha256: ChecksumConstructor | HashConstructor; streamHasher: StreamHasher<any>; streamCollector: StreamCollector; requestStreamBufferSize: number; }