Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

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