http

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const HTTPCONNECT = "CONNECT"
View Source
const ProxyAuthorization = "Proxy-Authorization: Basic "

Variables

This section is empty.

Functions

func ReadRequest added in v1.0.3

func ReadRequest(b *bufio.Reader) (req *http.Request, err error)

Types

type Proxy

type Proxy struct {
	// contains filtered or unexported fields
}

func (*Proxy) Handle

func (p *Proxy) Handle(tcpIn chan<- *constant.TCPContext) error

func (*Proxy) New

func (p *Proxy) New(wg *sync.WaitGroup, conf *constant.Server, uuid uuid.UUID, conn net.Conn) (err error)

Jump to

Keyboard shortcuts

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