...

Text file src/google.golang.org/grpc/Documentation/proxy.md

Documentation: google.golang.org/grpc/Documentation

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

View as plain text