Expand description
A worker’s gRPC channel to the master: plain for an http:// URL, TLS with the worker’s
certificate for an https:// one (the master’s certificate must name the URL’s host).
The handshake is done here rather than by tonic, so each connection uses the material in
use at that moment (see crate::reload), within the same time limit as the servers’.
Internal links never go through an HTTP proxy.
Functions§
- channel
- Connects to the master at
url, over TLS whentlsis given. - error_
text - The error with its causes, which carry the reason (a refused certificate, say).