From 95e9831fa5c8383091ddb7af7ab001ce2107ec38 Mon Sep 17 00:00:00 2001 From: Nick Babcock Date: Mon, 5 May 2025 10:09:46 -0500 Subject: [PATCH] Document reqwest can make TLS and cookie requests with Wasm This should hopefully clear up confusion. I had a colleague who believed reqwest could not make TLS and cookies requests in the browser due to the docs saying tls is disabled. --- src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 205b1d4e9..942796d42 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -175,6 +175,8 @@ //! the usage is basically the same as the async api. Some of the features are disabled in wasm //! : [`tls`], [`cookie`], [`blocking`], as well as various `ClientBuilder` methods such as `timeout()` and `connector_layer()`. //! +//! TLS and cookies are provided through the browser environment, so reqwest can issue TLS requests with cookies, +//! but has limited configuration. //! //! ## Optional Features //!