Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

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).