...

Package requestcompression

import "github.com/aws/smithy-go/private/requestcompression"
Overview
Index

Overview ▾

Package requestcompression implements runtime support for smithy-modeled request compression.

This package is designated as private and is intended for use only by the smithy client runtime. The exported API therein is not considered stable and is subject to breaking changes without notice.

Constants

Enumeration values for supported compress Algorithms.

const (
    GZIP = "gzip"
)
const MaxRequestMinCompressSizeBytes = 10485760

func AddCaptureUncompressedRequestMiddleware

func AddCaptureUncompressedRequestMiddleware(stack *middleware.Stack, buf *bytes.Buffer) error

AddCaptureUncompressedRequestMiddleware captures http request before compress encoding for check

func AddRequestCompression

func AddRequestCompression(stack *middleware.Stack, disabled bool, minBytes int64, algorithms []string) error

AddRequestCompression add requestCompression middleware to op stack