type UpgradeRequestRoundTripper …
type UpgradeAwareHandler …
const defaultFlushInterval …
type ErrorResponder …
type SimpleErrorResponder …
func NewErrorResponder(r SimpleErrorResponder) ErrorResponder { … }
type simpleResponder …
func (r simpleResponder) Error(w http.ResponseWriter, req *http.Request, err error) { … }
type upgradeRequestRoundTripper …
var _ …
var _ …
func (rt *upgradeRequestRoundTripper) WrappedRoundTripper() http.RoundTripper { … }
func (rt *upgradeRequestRoundTripper) WrapRequest(req *http.Request) (*http.Request, error) { … }
type onewayRoundTripper …
func (onewayRoundTripper) RoundTrip(req *http.Request) (*http.Response, error) { … }
var MirrorRequest …
func NewUpgradeRequestRoundTripper(connection, request http.RoundTripper) UpgradeRequestRoundTripper { … }
func normalizeLocation(location *url.URL) *url.URL { … }
func NewUpgradeAwareHandler(location *url.URL, transport http.RoundTripper, wrapTransport, upgradeRequired bool, responder ErrorResponder) *UpgradeAwareHandler { … }
func proxyRedirectsforRootPath(path string, w http.ResponseWriter, req *http.Request) bool { … }
func (h *UpgradeAwareHandler) ServeHTTP(w http.ResponseWriter, req *http.Request) { … }
type noSuppressPanicError …
func (noSuppressPanicError) Write(p []byte) (n int, err error) { … }
func (h *UpgradeAwareHandler) tryUpgrade(w http.ResponseWriter, req *http.Request) bool { … }
func singleJoiningSlash(a, b string) string { … }
func (h *UpgradeAwareHandler) DialForUpgrade(req *http.Request) (net.Conn, error) { … }
func getResponse(r io.Reader) (*http.Response, []byte, error) { … }
func dial(req *http.Request, transport http.RoundTripper) (net.Conn, error) { … }
func (h *UpgradeAwareHandler) defaultProxyTransport(url *url.URL, internalTransport http.RoundTripper) http.RoundTripper { … }
type corsRemovingTransport …
var _ …
func (rt *corsRemovingTransport) RoundTrip(req *http.Request) (*http.Response, error) { … }
func (rt *corsRemovingTransport) WrappedRoundTripper() http.RoundTripper { … }
func removeCORSHeaders(resp *http.Response) { … }