Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MessageConnectionEstablished = []byte("HTTP/1.1 200 Connection Established" + CRLF + CRLF) )
View Source
var CRLF = "\r\n"
CRLF used for delimiter purpose, may be incompatible in some old programs
View Source
var ProtocolPortMap = map[string]uint16{
"http": 80,
"https": 443,
}
Functions ¶
func BuildRemoteRequest ¶ added in v1.8.4
func ServeError ¶ added in v1.8.4
Types ¶
type Filter ¶
type Filter []string
func (Filter) RemoveHopHeaders ¶ added in v1.9.4
RemoveHopHeaders removes hop-by-hop headers from http.Header note that only the request which not CONNECT one needs to do this
Click to show internal directories.
Click to hide internal directories.