Document advanced (brittle) nature of use_preconfigured_tls
This commit is contained in:
@@ -750,6 +750,15 @@ impl ClientBuilder {
|
|||||||
/// If the passed `Any` argument is not a TLS backend that reqwest
|
/// If the passed `Any` argument is not a TLS backend that reqwest
|
||||||
/// understands, the `ClientBuilder` will error when calling `build`.
|
/// understands, the `ClientBuilder` will error when calling `build`.
|
||||||
///
|
///
|
||||||
|
/// # Advanced
|
||||||
|
///
|
||||||
|
/// This is an advanced option, and can be somewhat brittle. Usage requires
|
||||||
|
/// keeping the preconfigured TLS argument version in sync with reqwest,
|
||||||
|
/// since version mismatches will result in an "unknown" TLS backend.
|
||||||
|
///
|
||||||
|
/// If possible, it's preferable to use the methods on `ClientBuilder`
|
||||||
|
/// to configure reqwest's TLS.
|
||||||
|
///
|
||||||
/// # Optional
|
/// # Optional
|
||||||
///
|
///
|
||||||
/// This requires one of the optional features `native-tls` or
|
/// This requires one of the optional features `native-tls` or
|
||||||
|
|||||||
@@ -460,6 +460,15 @@ impl ClientBuilder {
|
|||||||
/// If the passed `Any` argument is not a TLS backend that reqwest
|
/// If the passed `Any` argument is not a TLS backend that reqwest
|
||||||
/// understands, the `ClientBuilder` will error when calling `build`.
|
/// understands, the `ClientBuilder` will error when calling `build`.
|
||||||
///
|
///
|
||||||
|
/// # Advanced
|
||||||
|
///
|
||||||
|
/// This is an advanced option, and can be somewhat brittle. Usage requires
|
||||||
|
/// keeping the preconfigured TLS argument version in sync with reqwest,
|
||||||
|
/// since version mismatches will result in an "unknown" TLS backend.
|
||||||
|
///
|
||||||
|
/// If possible, it's preferable to use the methods on `ClientBuilder`
|
||||||
|
/// to configure reqwest's TLS.
|
||||||
|
///
|
||||||
/// # Optional
|
/// # Optional
|
||||||
///
|
///
|
||||||
/// This requires one of the optional features `native-tls` or
|
/// This requires one of the optional features `native-tls` or
|
||||||
|
|||||||
Reference in New Issue
Block a user