spire-reqwest 0.3.0

Reqwest-based HTTP client backend for Spire web scraping framework
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#![forbid(unsafe_code)]
#![cfg_attr(docsrs, feature(doc_cfg))]
#![doc = include_str!("../README.md")]

#[cfg(not(any(feature = "rustls-tls", feature = "native-tls")))]
compile_error!("At least one TLS feature must be enabled: 'rustls-tls' or 'native-tls'");

mod client;
mod conversion;

pub use reqwest;
pub use spire_core::backend::StatusPolicy;

pub use crate::client::{HttpClient, HttpSession};