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

proxy.golang.org : github.com/iyear/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/iyear/connectproxy
Keywords: golang-proxy , http , http-proxy , proxy
License: Zlib
Latest release: over 1 year ago
First release: over 1 year ago
Namespace: github.com/iyear
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 28 days ago

    Loading...
    Readme
    Loading...