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