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.
Click to show internal directories.
Click to hide internal directories.