1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//! Security axis for [`ClientBuilder`] — TYPE-SPECIFIC (no blanket impl).
//! The client-side twin of the listener's inherent `.tls(TlsConfig)`
//! (`src/listener/handle.rs:466`), which stays a bare inherent method with
//! no trait minted for it (it needs real cert material a client never
//! carries). A client's `.tls()` is a zero-arg ASSERTION over a dial url it
//! already carries via `.http(url)` — the wire must be TLS, not a silent
//! `auto`-negotiated fallback. See `load.rs`'s `canonical_http`'s
//! `transport` forwarding and
//! `proxima_http::http1::prime_upstream::build_prime_upstream`'s
//! `transport == "tls"` + `http://` scheme rejection for where this is
//! actually enforced (the bug fix in Section B of the design).
use crateClientBuilder;
use SpecBuilder;
/// `.tls()` — assert the wire must be TLS. Bring into scope with
/// `use proxima::ClientSecurityExt;` (or `proxima::prelude::*`).