requestcompression

package
v1.20.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2024 License: Apache-2.0 Imports: 8 Imported by: 3

Documentation

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.

Index

Constants

View Source
const (
	GZIP = "gzip"
)

Enumeration values for supported compress Algorithms.

View Source
const MaxRequestMinCompressSizeBytes = 10485760

Variables

This section is empty.

Functions

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

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL