request

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHeaders

func GetHeaders(header api.RequestHeaderMap) map[string][]string

GetHeaders returns a plain map represents the headers. The returned headers won't contain any pseudo header like `:authority`.

func ParseCookies

func ParseCookies(headers api.RequestHeaderMap) map[string]*http.Cookie

If multiple cookies match the given name, only one cookie will be returned.

Types

This section is empty.

Jump to

Keyboard shortcuts

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