Expand description
https: one HTTPS request/response fetch over an onion session (#834 D1′, D2′).
https is a fetch only; every byte tunnel, TLS included, is tcp. A fetch is a session whose
client-to-world stream is one encoded request and whose world-to-client stream is one encoded
outcome:
client ── data(…enc(OnionHttpsRequest)…) ── fin ──▶ h ── fetch(t, request) ──▶ world
client ◀── data(…enc(OnionHttpsOutcome)…) ── fin ── hThe session’s target t, bound at h by its digest, is the fetch’s authority, so the request
names none and cannot disagree with it. The exit half is the fetch world
(OnionHttpsWorld), interpreted by the session shell; the client half is in client.
A browser page exit is constrained by the host browser’s fetch capability: CORS, forbidden
headers, credentials policy, and extension host permissions still apply. A full arbitrary HTTPS
exit must run in a browser-extension or native context that grants those fetch permissions.
Structs§
- Onion
Https Call - Normalized HTTPS request that names no target.
- Onion
Https Client Request - Caller-facing request fields for one HTTPS proxy request.
- Onion
Https Request - One HTTPS request of a fetch session; its authority is the session’s target.
- Onion
Https Response - One HTTPS response returned by an HTTPS exit.