MCPcopy
hub / github.com/caddyserver/caddy / AcceptEncoding

Method AcceptEncoding

modules/caddyhttp/encode/encode.go:581–581  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

579// and return the name used in the Accept-Encoding header.
580type Encoding interface {
581 AcceptEncoding() string
582 NewEncoder() Encoder
583}
584

Callers 2

addEncodingMethod · 0.65
ProvisionMethod · 0.65

Implementers 2

Zstdmodules/caddyhttp/encode/zstd/zstd.go
Gzipmodules/caddyhttp/encode/gzip/gzip.go

Calls

no outgoing calls

Tested by

no test coverage detected