Searched refs:scheme (Results 1 – 5 of 5) sorted by relevance
11 scheme: Option<Scheme>, field18 scheme, authority, .. in new()23 scheme, in new()44 if self.scheme.is_none() || self.authority.is_none() { in call()57 uri.scheme = self.scheme.clone(); in call()
32 let scheme = if matches.use_tls { "https" } else { "http" }; in main() localVariable35 let mut endpoint = Endpoint::try_from(format!("{}://localhost:10000", scheme))? in main()
54 if me.uri.scheme() == Some(&http::uri::Scheme::HTTPS) { in new()
36 // fail, clients should use an exponential backoff scheme to gradually increase
120 * **examples:** Use https scheme when using tls ([#1466](https://github.com/hyperium/tonic/issues/1…121 * **tls:** Don't use tls w/ `http` scheme ([#1454](https://github.com/hyperium/tonic/issues/1454)) …