http

package
v1.2.117 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MatchHTTPHeader

func MatchHTTPHeader(r io.Reader, matches func(parsedHeader http.Header) bool) (matched bool)

MatchHTTPHeader reads first line of HTTP request returns true if headers matches

func ReadRequestLine

func ReadRequestLine(r io.Reader) *http.Request

ReadRequestLine reads first line of HTTP request

Types

This section is empty.

Jump to

Keyboard shortcuts

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