Versions in this module Expand all Collapse all v0 v0.1.0 Nov 12, 2019 Changes in this version + var MirrorRequest http.RoundTripper = onewayRoundTripper + func DialURL(ctx context.Context, url *url.URL, transport http.RoundTripper) (net.Conn, error) + type ErrorResponder interface + Error func(w http.ResponseWriter, req *http.Request, err error) + func NewErrorResponder(r SimpleErrorResponder) ErrorResponder + type SimpleErrorResponder interface + Error func(err error) + type Transport struct + Host string + PathPrepend string + Scheme string + func (rt *Transport) WrappedRoundTripper() http.RoundTripper + func (t *Transport) RoundTrip(req *http.Request) (*http.Response, error) + type UpgradeAwareHandler struct + FlushInterval time.Duration + InterceptRedirects bool + Location *url.URL + MaxBytesPerSec int64 + RequireSameHostRedirects bool + Responder ErrorResponder + Transport http.RoundTripper + UpgradeRequired bool + UpgradeTransport UpgradeRequestRoundTripper + UseRequestLocation bool + WrapTransport bool + func NewUpgradeAwareHandler(location *url.URL, transport http.RoundTripper, ...) *UpgradeAwareHandler + func (h *UpgradeAwareHandler) Dial(req *http.Request) (net.Conn, error) + func (h *UpgradeAwareHandler) DialForUpgrade(req *http.Request) (net.Conn, error) + func (h *UpgradeAwareHandler) ServeHTTP(w http.ResponseWriter, req *http.Request) + type UpgradeRequestRoundTripper interface + WrapRequest func(*http.Request) (*http.Request, error) + func NewUpgradeRequestRoundTripper(connection, request http.RoundTripper) UpgradeRequestRoundTripper