You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

proxy.md 603 B

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