An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 8.7% on proxy.golang.org

proxy.golang.org : github.com/sters/connectproxy

Package connectproxy implements a proxy.ContextDialer which uses HTTP(s) CONNECT requests. It is heavily based on https://gist.github.com/jim3ma/3750675f141669ac4702bc9deaf31c6b and meant to compliment the proxy package (golang.org/x/net/proxy). Two URL schemes are supported: http and https. These represent plaintext and TLS-wrapped connections to the proxy server, respectively. The proxy.ContextDialer returned by the package may either be used directly to make connections via a proxy which understands CONNECT request, or indirectly via dialer.RegisterDialerType. Direct use: Indirectly, via dialer.RegisterDialerType: It's also possible to make the TLS handshake with an HTTPS proxy server use a different name for SNI than the Host: header uses in the CONNECT request:

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/sters/connectproxy
License: Zlib
Latest release: about 2 years ago
First release: about 2 years ago
Namespace: github.com/sters
Last synced: about 2 months ago

    Loading...
    Readme
    Loading...