headers

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// User agent client hints
	// ref. https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers#user_agent_client_hints
	SecChUa                = "Sec-Ch-Ua"
	SecChUaArch            = "Sec-Ch-Ua-Arch"
	SecChUaBitness         = "Sec-Ch-Ua-Bitness"
	SecChUaFullVersion     = "Sec-Ch-Ua-Full-Version"
	SecChUaFullVersionList = "Sec-Ch-Ua-Full-Version-List"
	SecChUaMobile          = "Sec-Ch-Ua-Mobile"
	SecChUaModel           = "Sec-Ch-Ua-Model"
	SecChUaPlatform        = "Sec-Ch-Ua-Platform"
	SecChUaPlatformVarsion = "Sec-Ch-Ua-Platform-Version"

	// (Deprecated) Device client hints
	// ref. https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers#device_client_hints
	ContentDPR    = "Content-Dpr"
	DeviceMemory  = "Device-Memory"
	DPR           = "Dpr"
	ViewportWidth = "Viewport-Width"
	Width         = "Width"

	// Network client hints
	// ref. https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers#network_client_hints
	Downlink = "Downlink"
	ECT      = "Ect"
	RTT      = "Rtt"
	SaveData = "Save-Data"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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