scion-http3
A high-level HTTP/3-over-SCION client: give it a URL, get a response.
use ;
/// Cap on a collected response body; a larger one fails rather than buffering
/// unboundedly.
const MAX_BODY_SIZE: usize = 1 << 20;
async
Client::connect opens an HTTP CONNECT tunnel and returns a byte stream:
use Authority;
use ;
async
Client::connect_via dials a proxy and sends another authority as the
CONNECT target.
Config::with_dns_override maps a host that has no TSAR records to fixed addresses. It
applies to URLs and to CONNECT authorities alike.
See the crate documentation for the full API, and
examples/http3_get_post.rs for a runnable end-to-end example against a
local network: