google.golang.org/grpc@v1.62.1/Documentation/proxy.md (about) 1 # Proxy 2 3 HTTP CONNECT proxies are supported by default in gRPC. The proxy address can be 4 specified by the environment variables `HTTPS_PROXY` and `NO_PROXY`. (Note that 5 these environment variables are case insensitive.) 6 7 ## Custom proxy 8 9 Currently, proxy support is implemented in the default dialer. It does one more 10 handshake (a CONNECT handshake in the case of HTTP CONNECT proxy) on the 11 connection before giving it to gRPC. 12 13 If the default proxy doesn't work for you, replace the default dialer with your 14 custom proxy dialer. This can be done using 15 [`WithDialer`](https://godoc.org/google.golang.org/grpc#WithDialer).