package
0.0.0-20130121074735-1d03baafba06
Repository: https://github.com/icattlecoder/go.git
Documentation: pkg.go.dev
# Functions
DumpRequest returns the as-received wire representation of req, optionally including the request body, for debugging.
DumpRequestOut is like DumpRequest but includes headers that the standard http.Transport adds, such as User-Agent.
DumpResponse is like DumpRequest but dumps a response.
NewChunkedReader returns a new chunkedReader that translates the data read from r out of HTTP "chunked" format before returning it.
NewChunkedWriter returns a new chunkedWriter that translates writes into HTTP "chunked" format before writing them to w.
NewClientConn returns a new ClientConn reading and writing c.
NewProxyClientConn works like NewClientConn but writes Requests using Request's WriteProxy method.
NewServerConn returns a new ServerConn reading and writing c.
NewSingleHostReverseProxy returns a new ReverseProxy that rewrites URLs to the scheme, host, and base path provided in target.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
A ClientConn sends request and receives headers over an underlying connection, while respecting the HTTP keepalive logic.
ReverseProxy is an HTTP Handler that takes an incoming request and sends it to another server, proxying the response back to the client.
A ServerConn reads requests and sends responses over an underlying connection, until the HTTP keepalive logic commands an end.