SYMBOL INDEX (1606 symbols across 71 files) FILE: examples/blocking.rs function main (line 4) | fn main() -> Result<(), Box> { FILE: examples/connect_via_lower_priority_tokio_runtime.rs function main (line 21) | async fn main() -> Result<(), reqwest::Error> { function init_background_runtime (line 70) | pub(crate) fn init_background_runtime() { function process_cpu_work (line 106) | async fn process_cpu_work() { function send_to_background_runtime (line 118) | fn send_to_background_runtime(future: impl Future + Send + ... type BackgroundProcessorLayer (line 146) | pub struct BackgroundProcessorLayer {} method new (line 148) | pub fn new() -> Self { type Service (line 153) | type Service = BackgroundProcessor; method layer (line 154) | fn layer(&self, service: S) -> Self::Service { method fmt (line 160) | fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result { type BackgroundProcessor (line 167) | pub struct BackgroundProcessor { function new (line 172) | pub fn new(inner: S) -> Self { type Response (line 184) | type Response = S::Response; type Error (line 186) | type Error = BoxError; type Future (line 188) | type Future = BackgroundResponseFuture; type Output (line 242) | type Output = Result; method poll (line 244) | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll Self::Future { function new (line 233) | pub(crate) fn new(rx: tokio::sync::oneshot::Receiver... function main (line 264) | fn main() {} FILE: examples/form.rs function main (line 8) | async fn main() { function main (line 23) | fn main() {} FILE: examples/h3_simple.rs function main (line 9) | async fn main() -> Result<(), reqwest::Error> { function main (line 44) | fn main() {} FILE: examples/json_dynamic.rs function main (line 11) | async fn main() -> Result<(), reqwest::Error> { FILE: examples/json_typed.rs type Post (line 11) | struct Post { function main (line 23) | async fn main() -> Result<(), reqwest::Error> { FILE: examples/simple.rs function main (line 8) | async fn main() -> Result<(), reqwest::Error> { function main (line 40) | fn main() {} FILE: examples/tor_socks.rs function main (line 7) | async fn main() -> Result<(), reqwest::Error> { FILE: examples/wasm_github_fetch/src/lib.rs type Branch (line 12) | pub struct Branch { type Commit (line 18) | pub struct Commit { type CommitDetails (line 24) | pub struct CommitDetails { type Signature (line 30) | pub struct Signature { function run (line 36) | pub async fn run() -> Result { FILE: src/async_impl/body.rs type Body (line 18) | pub struct Body { method as_bytes (line 53) | pub fn as_bytes(&self) -> Option<&[u8]> { method wrap_stream (line 85) | pub fn wrap_stream(stream: S) -> Body method stream (line 95) | pub(crate) fn stream(stream: S) -> Body method empty (line 115) | pub(crate) fn empty() -> Body { method reusable (line 119) | pub(crate) fn reusable(chunk: Bytes) -> Body { method wrap (line 138) | pub fn wrap(inner: B) -> Body method try_clone (line 153) | pub(crate) fn try_clone(&self) -> Option { method content_length (line 161) | pub(crate) fn content_length(&self) -> Option { method from (line 191) | fn from(bytes: Bytes) -> Body { method from (line 198) | fn from(vec: Vec) -> Body { method from (line 205) | fn from(s: &'static [u8]) -> Body { method from (line 212) | fn from(s: String) -> Body { method from (line 219) | fn from(s: &'static str) -> Body { method from (line 228) | fn from(file: File) -> Body { method fmt (line 234) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { type Inner (line 22) | enum Inner { method default (line 171) | fn default() -> Body { type Data (line 240) | type Data = Bytes; type Error (line 241) | type Error = crate::Error; method poll_frame (line 243) | fn poll_frame( method size_hint (line 263) | fn size_hint(&self) -> http_body::SizeHint { method is_end_stream (line 270) | fn is_end_stream(&self) -> bool { function total_timeout (line 280) | pub(crate) fn total_timeout(body: B, timeout: Pin>) -> Tot... function with_read_timeout (line 287) | pub(crate) fn with_read_timeout(body: B, timeout: Duration) -> ReadTi... type Data (line 300) | type Data = B::Data; type Error (line 301) | type Error = crate::Error; function poll_frame (line 303) | fn poll_frame( function size_hint (line 318) | fn size_hint(&self) -> http_body::SizeHint { function is_end_stream (line 323) | fn is_end_stream(&self) -> bool { type Data (line 333) | type Data = B::Data; type Error (line 334) | type Error = crate::Error; function poll_frame (line 336) | fn poll_frame( function size_hint (line 363) | fn size_hint(&self) -> http_body::SizeHint { function is_end_stream (line 368) | fn is_end_stream(&self) -> bool { type ResponseBody (line 373) | pub(crate) type ResponseBody = function boxed (line 376) | pub(crate) fn boxed(body: B) -> ResponseBody function response (line 386) | pub(crate) fn response( function box_err (line 408) | fn box_err(err: E) -> Box type Data (line 431) | type Data = Bytes; type Error (line 432) | type Error = B::Error; function poll_frame (line 434) | fn poll_frame( function size_hint (line 446) | fn size_hint(&self) -> http_body::SizeHint { function is_end_stream (line 451) | fn is_end_stream(&self) -> bool { function test_as_bytes (line 463) | fn test_as_bytes() { function body_exact_length (line 470) | fn body_exact_length() { FILE: src/async_impl/client.rs type Client (line 93) | pub struct Client { method new (line 2477) | pub fn new() -> Client { method builder (line 2484) | pub fn builder() -> ClientBuilder { method get (line 2493) | pub fn get(&self, url: U) -> RequestBuilder { method post (line 2502) | pub fn post(&self, url: U) -> RequestBuilder { method put (line 2511) | pub fn put(&self, url: U) -> RequestBuilder { method patch (line 2520) | pub fn patch(&self, url: U) -> RequestBuilder { method delete (line 2529) | pub fn delete(&self, url: U) -> RequestBuilder { method head (line 2538) | pub fn head(&self, url: U) -> RequestBuilder { method request (line 2550) | pub fn request(&self, method: Method, url: U) -> RequestBu... method execute (line 2567) | pub fn execute( method execute_request (line 2574) | pub(super) fn execute_request(&self, req: Request) -> Pending { method proxy_auth (line 2654) | fn proxy_auth(&self, dst: &Uri, headers: &mut HeaderMap) { method proxy_custom_headers (line 2678) | fn proxy_custom_headers(&self, dst: &Uri, headers: &mut HeaderMap) { method fmt (line 2699) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { type Response (line 2707) | type Response = Response; type Error (line 2708) | type Error = crate::Error; type Future (line 2709) | type Future = Pending; method poll_ready (line 2711) | fn poll_ready(&mut self, _cx: &mut Context<'_>) -> Poll Self::Future { type ClientBuilder (line 99) | pub struct ClientBuilder { method new (line 280) | pub fn new() -> Self { method build (line 403) | pub fn build(self) -> crate::Result { method user_agent (line 1119) | pub fn user_agent(mut self, value: V) -> ClientBuilder method default_headers (line 1157) | pub fn default_headers(mut self, headers: HeaderMap) -> ClientBuilder { method cookie_store (line 1180) | pub fn cookie_store(mut self, enable: bool) -> ClientBuilder { method cookie_provider (line 1204) | pub fn cookie_provider( method gzip (line 1230) | pub fn gzip(mut self, enable: bool) -> ClientBuilder { method brotli (line 1253) | pub fn brotli(mut self, enable: bool) -> ClientBuilder { method zstd (line 1276) | pub fn zstd(mut self, enable: bool) -> ClientBuilder { method deflate (line 1299) | pub fn deflate(mut self, enable: bool) -> ClientBuilder { method no_gzip (line 1309) | pub fn no_gzip(self) -> ClientBuilder { method no_brotli (line 1326) | pub fn no_brotli(self) -> ClientBuilder { method no_zstd (line 1343) | pub fn no_zstd(self) -> ClientBuilder { method no_deflate (line 1360) | pub fn no_deflate(self) -> ClientBuilder { method redirect (line 1377) | pub fn redirect(mut self, policy: redirect::Policy) -> ClientBuilder { method referer (line 1385) | pub fn referer(mut self, enable: bool) -> ClientBuilder { method retry (line 1396) | pub fn retry(mut self, policy: crate::retry::Builder) -> ClientBuilder { method proxy (line 1408) | pub fn proxy(mut self, proxy: Proxy) -> ClientBuilder { method no_proxy (line 1421) | pub fn no_proxy(mut self) -> ClientBuilder { method timeout (line 1435) | pub fn timeout(mut self, timeout: Duration) -> ClientBuilder { method read_timeout (line 1447) | pub fn read_timeout(mut self, timeout: Duration) -> ClientBuilder { method connect_timeout (line 1460) | pub fn connect_timeout(mut self, timeout: Duration) -> ClientBuilder { method connection_verbose (line 1471) | pub fn connection_verbose(mut self, verbose: bool) -> ClientBuilder { method pool_idle_timeout (line 1483) | pub fn pool_idle_timeout(mut self, val: D) -> ClientBuilder method pool_max_idle_per_host (line 1494) | pub fn pool_max_idle_per_host(mut self, max: usize) -> ClientBuilder { method http1_title_case_headers (line 1500) | pub fn http1_title_case_headers(mut self) -> ClientBuilder { method http1_allow_obsolete_multiline_headers_in_responses (line 1510) | pub fn http1_allow_obsolete_multiline_headers_in_responses( method http1_ignore_invalid_headers_in_responses (line 1520) | pub fn http1_ignore_invalid_headers_in_responses(mut self, value: bool... method http1_allow_spaces_after_header_name_in_responses (line 1530) | pub fn http1_allow_spaces_after_header_name_in_responses( method http1_only (line 1540) | pub fn http1_only(mut self) -> ClientBuilder { method http09_responses (line 1546) | pub fn http09_responses(mut self) -> ClientBuilder { method http2_prior_knowledge (line 1554) | pub fn http2_prior_knowledge(mut self) -> ClientBuilder { method http3_prior_knowledge (line 1562) | pub fn http3_prior_knowledge(mut self) -> ClientBuilder { method http2_initial_stream_window_size (line 1572) | pub fn http2_initial_stream_window_size(mut self, sz: impl Into ClientBuilder { method http2_max_frame_size (line 1606) | pub fn http2_max_frame_size(mut self, sz: impl Into>) -> C... method http2_max_header_list_size (line 1616) | pub fn http2_max_header_list_size(mut self, max_header_size_bytes: u32... method http2_keep_alive_interval (line 1627) | pub fn http2_keep_alive_interval( method http2_keep_alive_timeout (line 1642) | pub fn http2_keep_alive_timeout(mut self, timeout: Duration) -> Client... method http2_keep_alive_while_idle (line 1655) | pub fn http2_keep_alive_while_idle(mut self, enabled: bool) -> ClientB... method tcp_nodelay (line 1665) | pub fn tcp_nodelay(mut self, enabled: bool) -> ClientBuilder { method local_address (line 1684) | pub fn local_address(mut self, addr: T) -> ClientBuilder method interface (line 1736) | pub fn interface(mut self, interface: &str) -> ClientBuilder { method tcp_keepalive (line 1744) | pub fn tcp_keepalive(mut self, val: D) -> ClientBuilder method tcp_keepalive_interval (line 1755) | pub fn tcp_keepalive_interval(mut self, val: D) -> ClientBuilder method tcp_keepalive_retries (line 1766) | pub fn tcp_keepalive_retries(mut self, retries: C) -> ClientBuilder method tcp_user_timeout (line 1781) | pub fn tcp_user_timeout(mut self, val: D) -> ClientBuilder method unix_socket (line 1803) | pub fn unix_socket(mut self, path: impl UnixSocketProvider) -> ClientB... method windows_named_pipe (line 1820) | pub fn windows_named_pipe(mut self, pipe: impl WindowsNamedPipeProvide... method tls_certs_merge (line 1851) | pub fn tls_certs_merge( method tls_certs_only (line 1876) | pub fn tls_certs_only(mut self, certs: impl IntoIterator ClientBuil... method tls_crls_only (line 1905) | pub fn tls_crls_only( method add_crl (line 1916) | pub fn add_crl(mut self, crl: CertificateRevocationList) -> ClientBuil... method add_crls (line 1924) | pub fn add_crls( method identity (line 1940) | pub fn identity(mut self, identity: Identity) -> ClientBuilder { method tls_danger_accept_invalid_hostnames (line 1970) | pub fn tls_danger_accept_invalid_hostnames( method danger_accept_invalid_hostnames (line 1980) | pub fn danger_accept_invalid_hostnames(self, accept_invalid_hostname: ... method tls_danger_accept_invalid_certs (line 2005) | pub fn tls_danger_accept_invalid_certs(mut self, accept_invalid_certs:... method danger_accept_invalid_certs (line 2012) | pub fn danger_accept_invalid_certs(self, accept_invalid_certs: bool) -... method tls_sni (line 2029) | pub fn tls_sni(mut self, tls_sni: bool) -> ClientBuilder { method tls_version_min (line 2054) | pub fn tls_version_min(mut self, version: tls::Version) -> ClientBuild... method min_tls_version (line 2061) | pub fn min_tls_version(self, version: tls::Version) -> ClientBuilder { method tls_version_max (line 2088) | pub fn tls_version_max(mut self, version: tls::Version) -> ClientBuild... method max_tls_version (line 2095) | pub fn max_tls_version(self, version: tls::Version) -> ClientBuilder { method tls_backend_native (line 2109) | pub fn tls_backend_native(mut self) -> ClientBuilder { method use_native_tls (line 2116) | pub fn use_native_tls(self) -> ClientBuilder { method tls_backend_rustls (line 2130) | pub fn tls_backend_rustls(mut self) -> ClientBuilder { method use_rustls_tls (line 2138) | pub fn use_rustls_tls(self) -> ClientBuilder { method tls_backend_preconfigured (line 2169) | pub fn tls_backend_preconfigured(mut self, tls: impl Any) -> ClientBui... method use_preconfigured_tls (line 2199) | pub fn use_preconfigured_tls(self, tls: impl Any) -> ClientBuilder { method tls_info (line 2214) | pub fn tls_info(mut self, tls_info: bool) -> ClientBuilder { method https_only (line 2222) | pub fn https_only(mut self, enabled: bool) -> ClientBuilder { method hickory_dns (line 2242) | pub fn hickory_dns(mut self, enable: bool) -> ClientBuilder { method no_hickory_dns (line 2252) | pub fn no_hickory_dns(self) -> ClientBuilder { method resolve (line 2268) | pub fn resolve(self, domain: &str, addr: SocketAddr) -> ClientBuilder { method resolve_to_addrs (line 2276) | pub fn resolve_to_addrs(mut self, domain: &str, addrs: &[SocketAddr]) ... method dns_resolver (line 2287) | pub fn dns_resolver(mut self, resolver: R) -> ClientBuilder method tls_early_data (line 2301) | pub fn tls_early_data(mut self, enabled: bool) -> ClientBuilder { method http3_max_idle_timeout (line 2313) | pub fn http3_max_idle_timeout(mut self, value: Duration) -> ClientBuil... method http3_stream_receive_window (line 2330) | pub fn http3_stream_receive_window(mut self, value: u64) -> ClientBuil... method http3_conn_receive_window (line 2347) | pub fn http3_conn_receive_window(mut self, value: u64) -> ClientBuilder { method http3_send_window (line 2359) | pub fn http3_send_window(mut self, value: u64) -> ClientBuilder { method http3_congestion_bbr (line 2373) | pub fn http3_congestion_bbr(mut self) -> ClientBuilder { method http3_max_field_section_size (line 2389) | pub fn http3_max_field_section_size(mut self, value: u64) -> ClientBui... method http3_send_grease (line 2407) | pub fn http3_send_grease(mut self, enabled: bool) -> ClientBuilder { method connector_layer (line 2435) | pub fn connector_layer(mut self, layer: L) -> ClientBuilder method fmt (line 2735) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { type HttpVersionPref (line 103) | enum HttpVersionPref { type Accepts (line 113) | struct Accepts { method default (line 125) | fn default() -> Accepts { type HyperService (line 140) | struct HyperService { type Error (line 145) | type Error = crate::Error; type Response (line 146) | type Response = http::Response; type Future (line 147) | type Future = Pin) -> Poll)... type Config (line 160) | struct Config { method fmt_fields (line 2743) | fn fmt_fields(&self, f: &mut fmt::DebugStruct<'_, '_>) { method default (line 271) | fn default() -> Self { type HyperClient (line 2450) | type HyperClient = hyper_util::client::legacy::Client Self { function default_rustls_crypto_provider (line 2459) | fn default_rustls_crypto_provider() -> Arc; method poll (line 3025) | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll; method poll (line 3039) | fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll) -> Poll Self::Future { type MaybeCookieService (line 2877) | type MaybeCookieService = T; type MaybeCookieService (line 2880) | type MaybeCookieService = CookieService; type MaybeDecompression (line 2888) | type MaybeDecompression = T; type MaybeDecompression (line 2896) | type MaybeDecompression = Decompression; type LayeredService (line 2898) | type LayeredService = MaybeDecompression< type LayeredFuture (line 2904) | type LayeredFuture = as Service) { type PendingInner (line 2967) | enum PendingInner { type ResponseFuture (line 2990) | enum ResponseFuture { method in_flight (line 2997) | fn in_flight(self: Pin<&mut Self>) -> Pin<&mut ResponseFuture> { method total_timeout (line 3001) | fn total_timeout(self: Pin<&mut Self>) -> Pin<&mut Option... method read_timeout (line 3005) | fn read_timeout(self: Pin<&mut Self>) -> Pin<&mut Option>... method new_err (line 3011) | pub(super) fn new_err(err: crate::Error) -> Pending { method inner (line 3017) | fn inner(self: Pin<&mut Self>) -> Pin<&mut PendingInner> { method fmt (line 3093) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { function execute_request_rejects_invalid_urls (line 3110) | async fn execute_request_rejects_invalid_urls() { function execute_request_rejects_invalid_hostname (line 3123) | async fn execute_request_rejects_invalid_hostname() { function test_future_size (line 3135) | fn test_future_size() { FILE: src/async_impl/h3_client/connect.rs type H3Connection (line 15) | type H3Connection = ( type H3ClientConfig (line 22) | pub(crate) struct H3ClientConfig { method default (line 49) | fn default() -> Self { type H3Connector (line 58) | pub(crate) struct H3Connector { method new (line 65) | pub fn new( method connect (line 92) | pub async fn connect(&mut self, dest: Uri) -> Result) -> Poll Self::Future; type Addrs (line 24) | type Addrs = S::Response; type Error (line 25) | type Error = S::Error; type Future (line 26) | type Future = S::Future; method poll_ready (line 28) | fn poll_ready(&mut self, cx: &mut task::Context<'_>) -> Poll Self::Future { function resolve (line 37) | pub(super) async fn resolve(resolver: &mut R, name: Name) -> Result) -> ... method get_pooled_client (line 35) | async fn get_pooled_client(&mut self, key: Key) -> Result) -> H3ResponseFuture { type Response (line 93) | type Response = Response; type Error (line 94) | type Error = Error; type Future (line 95) | type Future = H3ResponseFuture; method poll_ready (line 97) | fn poll_ready(&mut self, _cx: &mut Context<'_>) -> Poll) -> Self::Future { type H3ResponseFuture (line 106) | pub(crate) struct H3ResponseFuture { type Output (line 111) | type Output = Result, Error>; method poll (line 113) | fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll) -> Self { method connecting (line 100) | pub fn connecting(&self, key: &Key) -> Connecting { method try_pool (line 114) | pub fn try_pool(&self, key: &Key) -> Option { method new_connection (line 141) | pub fn new_connection( type ConnectingLockInner (line 29) | struct ConnectingLockInner { type ConnectingLock (line 36) | pub struct ConnectingLock(Option); method new (line 55) | fn new(key: Key, pool: Arc>) -> Self { method forget (line 60) | fn forget(mut self) -> Key { type ConnectingWaiter (line 41) | pub struct ConnectingWaiter { method receive (line 78) | pub async fn receive(mut self) -> Option { type Connecting (line 45) | pub enum Connecting { method drop (line 68) | fn drop(&mut self) { type PoolInner (line 181) | struct PoolInner { method insert (line 188) | fn insert(&mut self, key: Key, conn: PoolConnection) { type PoolClient (line 198) | pub struct PoolClient { method new (line 203) | pub fn new(tx: SendRequest) -> Self { method send_request (line 207) | pub async fn send_request( type PoolConnection (line 278) | pub struct PoolConnection { method new (line 286) | pub fn new(client: PoolClient, close_rx: Receiver PoolClient { method is_invalid (line 299) | pub fn is_invalid(&self) -> bool { type Incoming (line 308) | struct Incoming { function new (line 315) | fn new( type Data (line 335) | type Data = Bytes; type Error (line 336) | type Error = crate::error::Error; function poll_frame (line 338) | fn poll_frame( function size_hint (line 355) | fn size_hint(&self) -> hyper::body::SizeHint { function extract_domain (line 364) | pub(crate) fn extract_domain(uri: &mut Uri) -> Result { function domain_as_uri (line 372) | pub(crate) fn domain_as_uri((scheme, auth): Key) -> Uri { function is_stop_sending (line 382) | fn is_stop_sending(e: &h3::error::StreamError) -> bool { FILE: src/async_impl/multipart.rs type Form (line 25) | pub struct Form { method new (line 64) | pub fn new() -> Form { method boundary (line 72) | pub fn boundary(&self) -> &str { method text (line 85) | pub fn text(self, name: T, value: U) -> Form method file (line 112) | pub async fn file(self, name: T, path: U) -> io::Result
method part (line 121) | pub fn part(self, name: T, part: Part) -> Form method percent_encode_path_segment (line 129) | pub fn percent_encode_path_segment(self) -> Form { method percent_encode_attr_chars (line 134) | pub fn percent_encode_attr_chars(self) -> Form { method percent_encode_noop (line 139) | pub fn percent_encode_noop(self) -> Form { method stream (line 144) | pub(crate) fn stream(self) -> Body { method into_stream (line 153) | pub fn into_stream(mut self) -> impl Stream( method compute_length (line 209) | pub(crate) fn compute_length(&mut self) -> Option { method with_inner (line 213) | fn with_inner(self, func: F) -> Self method fmt (line 224) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { type Part (line 30) | pub struct Part { method text (line 233) | pub fn text(value: T) -> Part method bytes (line 245) | pub fn bytes(value: T) -> Part method stream (line 257) | pub fn stream>(value: T) -> Part { method stream_with_length (line 264) | pub fn stream_with_length>(value: T, length: u64) -> Part { method file (line 275) | pub async fn file>(path: T) -> io::Result { method new (line 297) | fn new(value: Body, body_length: Option) -> Part { method mime_str (line 306) | pub fn mime_str(self, mime: &str) -> crate::Result { method mime (line 311) | fn mime(self, mime: Mime) -> Part { method file_name (line 316) | pub fn file_name(self, filename: T) -> Part method headers (line 324) | pub fn headers(self, headers: HeaderMap) -> Part { method with_inner (line 328) | fn with_inner(self, func: F) -> Self method fmt (line 340) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { type FormParts (line 36) | pub(crate) struct FormParts

{ type PartMetadata (line 43) | pub(crate) struct PartMetadata { method new (line 458) | pub(crate) fn new() -> Self { method mime (line 466) | pub(crate) fn mime(mut self, mime: Mime) -> Self { method file_name (line 471) | pub(crate) fn file_name(mut self, filename: T) -> Self method headers (line 479) | pub(crate) fn headers(mut self, headers: T) -> Self method fmt_fields (line 489) | pub(crate) fn fmt_fields<'f, 'fa, 'fb>( type PartProps (line 49) | pub(crate) trait PartProps { method value_len (line 50) | fn value_len(&self) -> Option; method metadata (line 51) | fn metadata(&self) -> &PartMetadata; method value_len (line 349) | fn value_len(&self) -> Option { method metadata (line 357) | fn metadata(&self) -> &PartMetadata { method default (line 57) | fn default() -> Self { function new (line 365) | pub(crate) fn new() -> Self { function boundary (line 374) | pub(crate) fn boundary(&self) -> &str { function part (line 379) | pub(crate) fn part(mut self, name: T, part: P) -> Self function percent_encode_path_segment (line 388) | pub(crate) fn percent_encode_path_segment(mut self) -> Self { function percent_encode_attr_chars (line 394) | pub(crate) fn percent_encode_attr_chars(mut self) -> Self { function percent_encode_noop (line 400) | pub(crate) fn percent_encode_noop(mut self) -> Self { function compute_length (line 408) | pub(crate) fn compute_length(&mut self) -> Option { function take_fields (line 441) | fn take_fields(&mut self) -> Vec<(Cow<'static, str>, P)> { function fmt_fields (line 447) | pub(crate) fn fmt_fields(&self, ty_name: &'static str, f: &mut fmt::Form... constant FRAGMENT_ENCODE_SET (line 501) | const FRAGMENT_ENCODE_SET: &AsciiSet = &percent_encoding::CONTROLS constant PATH_ENCODE_SET (line 509) | const PATH_ENCODE_SET: &AsciiSet = &FRAGMENT_ENCODE_SET.add(b'#').add(b'... constant PATH_SEGMENT_ENCODE_SET (line 511) | const PATH_SEGMENT_ENCODE_SET: &AsciiSet = &PATH_ENCODE_SET.add(b'/').ad... constant ATTR_CHAR_ENCODE_SET (line 514) | const ATTR_CHAR_ENCODE_SET: &AsciiSet = &NON_ALPHANUMERIC type PercentEncoding (line 528) | pub(crate) enum PercentEncoding { method encode_headers (line 535) | pub(crate) fn encode_headers(&self, name: &str, field: &PartMetadata) ... method percent_encode (line 580) | fn percent_encode<'a>(&self, value: &'a str) -> Cow<'a, str> { function gen_boundary (line 591) | fn gen_boundary() -> String { function form_empty (line 611) | fn form_empty() { function stream_to_end (line 626) | fn stream_to_end() { function stream_to_end_with_header (line 685) | fn stream_to_end_with_header() { function correct_content_length (line 717) | fn correct_content_length() { function header_percent_encoding (line 740) | fn header_percent_encoding() { FILE: src/async_impl/request.rs type Request (line 26) | pub struct Request { method new (line 47) | pub fn new(method: Method, url: Url) -> Self { method method (line 60) | pub fn method(&self) -> &Method { method method_mut (line 66) | pub fn method_mut(&mut self) -> &mut Method { method url (line 72) | pub fn url(&self) -> &Url { method url_mut (line 78) | pub fn url_mut(&mut self) -> &mut Url { method headers (line 84) | pub fn headers(&self) -> &HeaderMap { method headers_mut (line 90) | pub fn headers_mut(&mut self) -> &mut HeaderMap { method body (line 96) | pub fn body(&self) -> Option<&Body> { method body_mut (line 102) | pub fn body_mut(&mut self) -> &mut Option { method extensions (line 108) | pub(crate) fn extensions(&self) -> &Extensions { method extensions_mut (line 114) | pub(crate) fn extensions_mut(&mut self) -> &mut Extensions { method timeout (line 120) | pub fn timeout(&self) -> Option<&Duration> { method timeout_mut (line 126) | pub fn timeout_mut(&mut self) -> &mut Option { method version (line 132) | pub fn version(&self) -> Version { method version_mut (line 138) | pub fn version_mut(&mut self) -> &mut Version { method try_clone (line 145) | pub fn try_clone(&self) -> Option { method pieces (line 159) | pub(super) fn pieces(self) -> (Method, Url, HeaderMap, Option, V... method fmt (line 556) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { type Error (line 612) | type Error = crate::Error; method try_from (line 614) | fn try_from(req: HttpRequest) -> crate::Result { type RequestBuilder (line 39) | pub struct RequestBuilder { method new (line 172) | pub(super) fn new(client: Client, request: crate::Result) -> ... method from_parts (line 189) | pub fn from_parts(client: Client, request: Request) -> RequestBuilder { method header (line 197) | pub fn header(self, key: K, value: V) -> RequestBuilder method header_sensitive (line 208) | fn header_sensitive(mut self, key: K, value: V, sensitive: bool)... method headers (line 242) | pub fn headers(mut self, headers: crate::header::HeaderMap) -> Request... method basic_auth (line 263) | pub fn basic_auth(self, username: U, password: Option

) -> Req... method bearer_auth (line 273) | pub fn bearer_auth(self, token: T) -> RequestBuilder method body (line 282) | pub fn body>(mut self, body: T) -> RequestBuilder { method timeout (line 294) | pub fn timeout(mut self, timeout: Duration) -> RequestBuilder { method multipart (line 325) | pub fn multipart(self, mut multipart: multipart::Form) -> RequestBuild... method query (line 366) | pub fn query(mut self, query: &T) -> RequestBui... method version (line 389) | pub fn version(mut self, version: Version) -> RequestBuilder { method form (line 429) | pub fn form(mut self, form: &T) -> RequestBuild... method json (line 462) | pub fn json(mut self, json: &T) -> RequestBuild... method build (line 483) | pub fn build(self) -> crate::Result { method build_split (line 492) | pub fn build_split(self) -> (Client, crate::Result) { method send (line 517) | pub fn send(self) -> impl Future Option { method fmt (line 562) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { function fmt_request_fields (line 571) | fn fmt_request_fields<'a, 'b>( function extract_authority (line 582) | pub(crate) fn extract_authority(url: &mut Url) -> Option<(String, Option... type Error (line 637) | type Error = crate::Error; function try_from (line 639) | fn try_from(req: Request) -> crate::Result { function add_query_append (line 673) | fn add_query_append() { function add_query_append_same (line 687) | fn add_query_append_same() { function add_query_struct (line 700) | fn add_query_struct() { function add_query_map (line 724) | fn add_query_map() { function test_replace_headers (line 740) | fn test_replace_headers() { function normalize_empty_query (line 766) | fn normalize_empty_query() { function try_clone_reusable (line 782) | fn try_clone_reusable() { function try_clone_no_body (line 799) | fn try_clone_no_body() { function try_clone_stream (line 814) | fn try_clone_stream() { function convert_url_authority_into_basic_auth (line 826) | fn convert_url_authority_into_basic_auth() { function test_basic_auth_sensitive_header (line 840) | fn test_basic_auth_sensitive_header() { function test_bearer_auth_sensitive_header (line 859) | fn test_bearer_auth_sensitive_header() { function test_explicit_sensitive_header (line 875) | fn test_explicit_sensitive_header() { function convert_from_http_request (line 894) | fn convert_from_http_request() { function set_http_request_version (line 912) | fn set_http_request_version() { function builder_split_reassemble (line 932) | fn builder_split_reassemble() { FILE: src/async_impl/response.rs type Response (line 28) | pub struct Response { method new (line 36) | pub(super) fn new( method status (line 56) | pub fn status(&self) -> StatusCode { method version (line 62) | pub fn version(&self) -> Version { method headers (line 68) | pub fn headers(&self) -> &HeaderMap { method headers_mut (line 74) | pub fn headers_mut(&mut self) -> &mut HeaderMap { method content_length (line 90) | pub fn content_length(&self) -> Option { method cookies (line 105) | pub fn cookies<'a>(&'a self) -> impl Iterator &Url { method remote_addr (line 116) | pub fn remote_addr(&self) -> Option { method extensions (line 124) | pub fn extensions(&self) -> &http::Extensions { method extensions_mut (line 129) | pub fn extensions_mut(&mut self) -> &mut http::Extensions { method text (line 163) | pub async fn text(self) -> crate::Result { method text_with_charset (line 208) | pub async fn text_with_charset(self, default_encoding: &str) -> crate:... method json (line 269) | pub async fn json(self) -> crate::Result { method bytes (line 290) | pub async fn bytes(self) -> crate::Result { method chunk (line 315) | pub async fn chunk(&mut self) -> crate::Result> { method bytes_stream (line 356) | pub fn bytes_stream(self) -> impl futures_core::Stream crate::Result { method error_for_status_ref (line 414) | pub fn error_for_status_ref(&self) -> crate::Result<&Self> { method body_mut (line 432) | pub(crate) fn body_mut(&mut self) -> &mut ResponseBody { method fmt (line 438) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { method from (line 457) | fn from(r: http::Response) -> Response { method from (line 449) | fn from(r: Response) -> Body { function from (line 478) | fn from(r: Response) -> http::Response { function test_from_http_response (line 493) | fn test_from_http_response() { FILE: src/async_impl/upgrade.rs type Upgraded (line 9) | pub struct Upgraded { method fmt (line 54) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method from (line 60) | fn from(inner: hyper::upgrade::Upgraded) -> Self { method poll_read (line 14) | fn poll_read( method poll_write (line 24) | fn poll_write( method poll_write_vectored (line 32) | fn poll_write_vectored( method poll_flush (line 40) | fn poll_flush(mut self: Pin<&mut Self>, cx: &mut task::Context<'_>) -> P... method poll_shutdown (line 44) | fn poll_shutdown(mut self: Pin<&mut Self>, cx: &mut task::Context<'_>) -... method is_write_vectored (line 48) | fn is_write_vectored(&self) -> bool { function upgrade (line 69) | pub async fn upgrade(self) -> crate::Result { FILE: src/blocking/body.rs type Body (line 23) | pub struct Body { method new (line 60) | pub fn new(reader: R) -> Body { method sized (line 80) | pub fn sized(reader: R, len: u64) -> Body { method as_bytes (line 88) | pub fn as_bytes(&self) -> Option<&[u8]> { method buffer (line 101) | pub fn buffer(&mut self) -> Result<&[u8], crate::Error> { method len (line 118) | pub(crate) fn len(&self) -> Option { method into_reader (line 126) | pub(crate) fn into_reader(self) -> Reader { method into_async (line 133) | pub(crate) fn into_async(self) -> (Option, async_impl::Body, O... method try_clone (line 150) | pub(crate) fn try_clone(&self) -> Option { method from (line 171) | fn from(v: Vec) -> Body { method from (line 180) | fn from(s: String) -> Body { method from (line 187) | fn from(s: &'static [u8]) -> Body { method from (line 196) | fn from(s: &'static str) -> Body { method from (line 203) | fn from(f: File) -> Body { method from (line 212) | fn from(b: Bytes) -> Body { type Kind (line 155) | enum Kind { method try_clone (line 161) | fn try_clone(&self) -> Option { method fmt (line 220) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { type DebugLength (line 231) | struct DebugLength<'a>(&'a Option); function fmt (line 234) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { type Reader (line 243) | pub(crate) enum Reader { method read (line 250) | fn read(&mut self, buf: &mut [u8]) -> io::Result { type Sender (line 258) | pub(crate) struct Sender { method send (line 358) | pub(crate) fn send(self) -> impl Future) -> fmt::Result { function send_future (line 274) | async fn send_future(sender: Sender) -> Result<(), crate::Error> { function read_to_string (line 365) | pub(crate) fn read_to_string(mut body: Body) -> io::Result { FILE: src/blocking/client.rs type Client (line 61) | pub struct Client { method new (line 1217) | pub fn new() -> Client { method builder (line 1224) | pub fn builder() -> ClientBuilder { method get (line 1233) | pub fn get(&self, url: U) -> RequestBuilder { method post (line 1242) | pub fn post(&self, url: U) -> RequestBuilder { method put (line 1251) | pub fn put(&self, url: U) -> RequestBuilder { method patch (line 1260) | pub fn patch(&self, url: U) -> RequestBuilder { method delete (line 1269) | pub fn delete(&self, url: U) -> RequestBuilder { method head (line 1278) | pub fn head(&self, url: U) -> RequestBuilder { method request (line 1290) | pub fn request(&self, method: Method, url: U) -> RequestBu... method execute (line 1307) | pub fn execute(&self, request: Request) -> crate::Result { method fmt (line 1313) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { type ClientBuilder (line 80) | pub struct ClientBuilder { method new (line 95) | pub fn new() -> Self { method build (line 115) | pub fn build(self) -> crate::Result { method user_agent (line 141) | pub fn user_agent(self, value: V) -> ClientBuilder method default_headers (line 173) | pub fn default_headers(self, headers: header::HeaderMap) -> ClientBuil... method cookie_store (line 189) | pub fn cookie_store(self, enable: bool) -> ClientBuilder { method cookie_provider (line 205) | pub fn cookie_provider( method gzip (line 230) | pub fn gzip(self, enable: bool) -> ClientBuilder { method brotli (line 252) | pub fn brotli(self, enable: bool) -> ClientBuilder { method zstd (line 274) | pub fn zstd(self, enable: bool) -> ClientBuilder { method deflate (line 296) | pub fn deflate(self, enable: bool) -> ClientBuilder { method no_gzip (line 305) | pub fn no_gzip(self) -> ClientBuilder { method no_brotli (line 314) | pub fn no_brotli(self) -> ClientBuilder { method no_zstd (line 323) | pub fn no_zstd(self) -> ClientBuilder { method no_deflate (line 332) | pub fn no_deflate(self) -> ClientBuilder { method redirect (line 341) | pub fn redirect(self, policy: redirect::Policy) -> ClientBuilder { method retry (line 348) | pub fn retry(self, policy: crate::retry::Builder) -> ClientBuilder { method referer (line 355) | pub fn referer(self, enable: bool) -> ClientBuilder { method proxy (line 366) | pub fn proxy(self, proxy: Proxy) -> ClientBuilder { method no_proxy (line 377) | pub fn no_proxy(self) -> ClientBuilder { method timeout (line 388) | pub fn timeout(mut self, timeout: T) -> ClientBuilder method connect_timeout (line 399) | pub fn connect_timeout(self, timeout: T) -> ClientBuilder method connection_verbose (line 417) | pub fn connection_verbose(self, verbose: bool) -> ClientBuilder { method pool_idle_timeout (line 428) | pub fn pool_idle_timeout(self, val: D) -> ClientBuilder method pool_max_idle_per_host (line 436) | pub fn pool_max_idle_per_host(self, max: usize) -> ClientBuilder { method http1_title_case_headers (line 441) | pub fn http1_title_case_headers(self) -> ClientBuilder { method http1_allow_obsolete_multiline_headers_in_responses (line 450) | pub fn http1_allow_obsolete_multiline_headers_in_responses(self, value... method http1_ignore_invalid_headers_in_responses (line 455) | pub fn http1_ignore_invalid_headers_in_responses(self, value: bool) ->... method http1_allow_spaces_after_header_name_in_responses (line 464) | pub fn http1_allow_spaces_after_header_name_in_responses(self, value: ... method http1_only (line 469) | pub fn http1_only(self) -> ClientBuilder { method http09_responses (line 474) | pub fn http09_responses(self) -> ClientBuilder { method http2_prior_knowledge (line 481) | pub fn http2_prior_knowledge(self) -> ClientBuilder { method http2_initial_stream_window_size (line 490) | pub fn http2_initial_stream_window_size(self, sz: impl Into ClientBuilder { method http2_max_frame_size (line 518) | pub fn http2_max_frame_size(self, sz: impl Into>) -> Clien... method http2_max_header_list_size (line 527) | pub fn http2_max_header_list_size(self, max_header_size_bytes: u32) ->... method http3_prior_knowledge (line 535) | pub fn http3_prior_knowledge(self) -> ClientBuilder { method http3_max_idle_timeout (line 546) | pub fn http3_max_idle_timeout(self, value: Duration) -> ClientBuilder { method http3_stream_receive_window (line 562) | pub fn http3_stream_receive_window(self, value: u64) -> ClientBuilder { method http3_conn_receive_window (line 578) | pub fn http3_conn_receive_window(self, value: u64) -> ClientBuilder { method http3_send_window (line 589) | pub fn http3_send_window(self, value: u64) -> ClientBuilder { method http3_congestion_bbr (line 602) | pub fn http3_congestion_bbr(self) -> ClientBuilder { method http3_max_field_section_size (line 617) | pub fn http3_max_field_section_size(self, value: u64) -> ClientBuilder { method http3_send_grease (line 634) | pub fn http3_send_grease(self, enabled: bool) -> ClientBuilder { method tcp_nodelay (line 643) | pub fn tcp_nodelay(self, enabled: bool) -> ClientBuilder { method local_address (line 658) | pub fn local_address(self, addr: T) -> ClientBuilder method interface (line 687) | pub fn interface(self, interface: &str) -> ClientBuilder { method tcp_keepalive (line 694) | pub fn tcp_keepalive(self, val: D) -> ClientBuilder method tcp_keepalive_interval (line 704) | pub fn tcp_keepalive_interval(self, val: D) -> ClientBuilder method tcp_keepalive_retries (line 714) | pub fn tcp_keepalive_retries(self, retries: C) -> ClientBuilder method tcp_user_timeout (line 728) | pub fn tcp_user_timeout(self, val: D) -> ClientBuilder method unix_socket (line 749) | pub fn unix_socket(self, path: impl UnixSocketProvider) -> ClientBuild... method tls_certs_merge (line 791) | pub fn tls_certs_merge(self, certs: impl IntoIterator ClientBuilder { method tls_crls_only (line 837) | pub fn tls_crls_only( method add_crl (line 847) | pub fn add_crl(self, crl: CertificateRevocationList) -> ClientBuilder { method add_crls (line 854) | pub fn add_crls( method identity (line 869) | pub fn identity(self, identity: Identity) -> ClientBuilder { method tls_danger_accept_invalid_hostnames (line 898) | pub fn tls_danger_accept_invalid_hostnames( method danger_accept_invalid_hostnames (line 907) | pub fn danger_accept_invalid_hostnames(self, accept_invalid_hostname: ... method tls_danger_accept_invalid_certs (line 927) | pub fn tls_danger_accept_invalid_certs(self, accept_invalid_certs: boo... method danger_accept_invalid_certs (line 933) | pub fn danger_accept_invalid_certs(self, accept_invalid_certs: bool) -... method tls_sni (line 945) | pub fn tls_sni(self, tls_sni: bool) -> ClientBuilder { method tls_version_min (line 969) | pub fn tls_version_min(self, version: tls::Version) -> ClientBuilder { method min_tls_version (line 975) | pub fn min_tls_version(self, version: tls::Version) -> ClientBuilder { method tls_version_max (line 999) | pub fn tls_version_max(self, version: tls::Version) -> ClientBuilder { method max_tls_version (line 1005) | pub fn max_tls_version(self, version: tls::Version) -> ClientBuilder { method tls_backend_native (line 1019) | pub fn tls_backend_native(self) -> ClientBuilder { method use_native_tls (line 1025) | pub fn use_native_tls(self) -> ClientBuilder { method tls_backend_rustls (line 1039) | pub fn tls_backend_rustls(self) -> ClientBuilder { method use_rustls_tls (line 1046) | pub fn use_rustls_tls(self) -> ClientBuilder { method tls_info (line 1061) | pub fn tls_info(self, tls_info: bool) -> ClientBuilder { method tls_backend_preconfigured (line 1085) | pub fn tls_backend_preconfigured(self, tls: impl Any) -> ClientBuilder { method use_preconfigured_tls (line 1091) | pub fn use_preconfigured_tls(self, tls: impl Any) -> ClientBuilder { method hickory_dns (line 1104) | pub fn hickory_dns(self, enable: bool) -> ClientBuilder { method no_hickory_dns (line 1113) | pub fn no_hickory_dns(self) -> ClientBuilder { method https_only (line 1120) | pub fn https_only(self, enabled: bool) -> ClientBuilder { method resolve (line 1128) | pub fn resolve(self, domain: &str, addr: SocketAddr) -> ClientBuilder { method resolve_to_addrs (line 1136) | pub fn resolve_to_addrs(self, domain: &str, addrs: &[SocketAddr]) -> C... method dns_resolver (line 1145) | pub fn dns_resolver(self, resolver: Arc) -> C... method connector_layer (line 1168) | pub fn connector_layer(self, layer: L) -> ClientBuilder method with_inner (line 1180) | fn with_inner(mut self, func: F) -> ClientBuilder method from (line 1190) | fn from(builder: async_impl::ClientBuilder) -> Self { method fmt (line 1323) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { method default (line 86) | fn default() -> Self { method default (line 1199) | fn default() -> Self { type ClientHandle (line 1329) | struct ClientHandle { method new (line 1359) | fn new(builder: ClientBuilder) -> crate::Result { method execute_request (line 1433) | fn execute_request(&self, req: Request) -> crate::Result { type OneshotResponse (line 1334) | type OneshotResponse = oneshot::Sender(fut: F, mut tx: OneshotResponse) type Timeout (line 1497) | struct Timeout(Option); method default (line 1500) | fn default() -> Timeout { type KeepCoreThreadAlive (line 1506) | pub(crate) struct KeepCoreThreadAlive(#[allow(dead_code)] Option KeepCoreThreadAlive { function event_loop_panicked (line 1516) | fn event_loop_panicked() -> ! { FILE: src/blocking/mod.rs function get (line 106) | pub fn get(url: T) -> crate::Result { FILE: src/blocking/multipart.rs type Form (line 52) | pub struct Form { method new (line 70) | pub fn new() -> Form { method boundary (line 78) | pub fn boundary(&self) -> &str { method text (line 91) | pub fn text(self, name: T, value: U) -> Form method file (line 116) | pub fn file(self, name: T, path: U) -> io::Result method part (line 125) | pub fn part(self, name: T, part: Part) -> Form method percent_encode_path_segment (line 133) | pub fn percent_encode_path_segment(self) -> Form { method percent_encode_attr_chars (line 138) | pub fn percent_encode_attr_chars(self) -> Form { method percent_encode_noop (line 143) | pub fn percent_encode_noop(self) -> Form { method reader (line 147) | pub(crate) fn reader(self) -> Reader { method into_reader (line 152) | pub fn into_reader(self) -> impl Read { method compute_length (line 159) | pub(crate) fn compute_length(&mut self) -> Option { method with_inner (line 163) | fn with_inner(self, func: F) -> Self method fmt (line 174) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { type Part (line 57) | pub struct Part { method text (line 181) | pub fn text(value: T) -> Part method bytes (line 193) | pub fn bytes(value: T) -> Part method reader (line 207) | pub fn reader(value: T) -> Part { method reader_with_length (line 214) | pub fn reader_with_length(value: T, length: ... method file (line 223) | pub fn file>(path: T) -> io::Result { method new (line 240) | fn new(value: Body) -> Part { method mime_str (line 248) | pub fn mime_str(self, mime: &str) -> crate::Result { method mime (line 253) | fn mime(self, mime: Mime) -> Part { method file_name (line 258) | pub fn file_name(self, filename: T) -> Part method headers (line 266) | pub fn headers(self, headers: HeaderMap) -> Part { method with_inner (line 270) | fn with_inner(self, func: F) -> Self method fmt (line 282) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { method default (line 63) | fn default() -> Self { method value_len (line 291) | fn value_len(&self) -> Option { method metadata (line 295) | fn metadata(&self) -> &PartMetadata { type Reader (line 300) | pub(crate) struct Reader { method fmt (line 306) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { method new (line 312) | fn new(form: Form) -> Reader { method next_reader (line 321) | fn next_reader(&mut self) { method read (line 360) | fn read(&mut self, buf: &mut [u8]) -> io::Result { function form_empty (line 386) | fn form_empty() { function read_to_end (line 396) | fn read_to_end() { function read_to_end_with_length (line 437) | fn read_to_end_with_length() { function read_to_end_with_header (line 470) | fn read_to_end_with_header() { FILE: src/blocking/request.rs type Request (line 21) | pub struct Request { method new (line 39) | pub fn new(method: Method, url: Url) -> Self { method method (line 48) | pub fn method(&self) -> &Method { method method_mut (line 54) | pub fn method_mut(&mut self) -> &mut Method { method url (line 60) | pub fn url(&self) -> &Url { method url_mut (line 66) | pub fn url_mut(&mut self) -> &mut Url { method headers (line 72) | pub fn headers(&self) -> &HeaderMap { method headers_mut (line 78) | pub fn headers_mut(&mut self) -> &mut HeaderMap { method version (line 84) | pub fn version(&self) -> Version { method version_mut (line 90) | pub fn version_mut(&mut self) -> &mut Version { method body (line 96) | pub fn body(&self) -> Option<&Body> { method body_mut (line 102) | pub fn body_mut(&mut self) -> &mut Option { method timeout (line 108) | pub fn timeout(&self) -> Option<&Duration> { method timeout_mut (line 114) | pub fn timeout_mut(&mut self) -> &mut Option { method try_clone (line 122) | pub fn try_clone(&self) -> Option { method into_async (line 140) | pub(crate) fn into_async(self) -> (async_impl::Request, Option) -> crate::Result { method fmt (line 681) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { type RequestBuilder (line 31) | pub struct RequestBuilder { method new (line 157) | pub(crate) fn new(client: Client, request: crate::Result) -> ... method from_parts (line 174) | pub fn from_parts(client: Client, request: Request) -> RequestBuilder { method header (line 194) | pub fn header(self, key: K, value: V) -> RequestBuilder method header_sensitive (line 205) | fn header_sensitive(mut self, key: K, value: V, sensitive: bool)... method headers (line 261) | pub fn headers(mut self, headers: crate::header::HeaderMap) -> Request... method basic_auth (line 279) | pub fn basic_auth(self, username: U, password: Option

) -> Req... method bearer_auth (line 299) | pub fn bearer_auth(self, token: T) -> RequestBuilder method body (line 350) | pub fn body>(mut self, body: T) -> RequestBuilder { method timeout (line 362) | pub fn timeout(mut self, timeout: Duration) -> RequestBuilder { method query (line 405) | pub fn query(mut self, query: &T) -> RequestBui... method version (line 428) | pub fn version(mut self, version: Version) -> RequestBuilder { method form (line 467) | pub fn form(mut self, form: &T) -> RequestBuild... method json (line 521) | pub fn json(mut self, json: &T) -> RequestBuild... method multipart (line 561) | pub fn multipart(self, mut multipart: multipart::Form) -> RequestBuild... method build (line 577) | pub fn build(self) -> crate::Result { method build_split (line 586) | pub fn build_split(self) -> (Client, crate::Result) { method send (line 596) | pub fn send(self) -> crate::Result { method try_clone (line 644) | pub fn try_clone(&self) -> Option { function fmt_request_fields (line 686) | fn fmt_request_fields<'a, 'b>( function basic_get_request (line 705) | fn basic_get_request() { function basic_head_request (line 715) | fn basic_head_request() { function basic_post_request (line 725) | fn basic_post_request() { function basic_put_request (line 735) | fn basic_put_request() { function basic_patch_request (line 745) | fn basic_patch_request() { function basic_delete_request (line 755) | fn basic_delete_request() { function add_header (line 765) | fn add_header() { function add_headers (line 780) | fn add_headers() { function add_headers_multi (line 798) | fn add_headers_multi() { function add_body (line 822) | fn add_body() { function add_query_append (line 838) | fn add_query_append() { function add_query_append_same (line 852) | fn add_query_append_same() { function add_query_struct (line 865) | fn add_query_struct() { function add_query_map (line 889) | fn add_query_map() { function add_form (line 906) | fn add_form() { function add_json (line 930) | fn add_json() { function add_json_fail (line 951) | fn add_json_fail() { function test_replace_headers (line 975) | fn test_replace_headers() { function normalize_empty_query (line 1001) | fn normalize_empty_query() { function convert_url_authority_into_basic_auth (line 1017) | fn convert_url_authority_into_basic_auth() { function convert_from_http_request (line 1031) | fn convert_from_http_request() { function set_http_request_version (line 1049) | fn set_http_request_version() { function test_basic_auth_sensitive_header (line 1069) | fn test_basic_auth_sensitive_header() { function test_bearer_auth_sensitive_header (line 1088) | fn test_bearer_auth_sensitive_header() { function test_request_cloning (line 1104) | fn test_request_cloning() { FILE: src/blocking/response.rs type Response (line 23) | pub struct Response { method fmt (line 31) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { method new (line 37) | pub(crate) fn new( method status (line 94) | pub fn status(&self) -> StatusCode { method headers (line 123) | pub fn headers(&self) -> &HeaderMap { method headers_mut (line 129) | pub fn headers_mut(&mut self) -> &mut HeaderMap { method cookies (line 142) | pub fn cookies<'a>(&'a self) -> impl Iterator Version { method url (line 164) | pub fn url(&self) -> &Url { method remote_addr (line 179) | pub fn remote_addr(&self) -> Option { method extensions (line 184) | pub fn extensions(&self) -> &http::Extensions { method extensions_mut (line 189) | pub fn extensions_mut(&mut self) -> &mut http::Extensions { method content_length (line 206) | pub fn content_length(&self) -> Option { method json (line 248) | pub fn json(self) -> crate::Result { method bytes (line 267) | pub fn bytes(self) -> crate::Result { method text (line 295) | pub fn text(self) -> crate::Result { method text_with_charset (line 328) | pub fn text_with_charset(self, default_encoding: &str) -> crate::Resul... method copy_to (line 357) | pub fn copy_to(&mut self, w: &mut W) -> crate::Result method error_for_status (line 380) | pub fn error_for_status(self) -> crate::Result { method error_for_status_ref (line 411) | pub fn error_for_status_ref(&self) -> crate::Result<&Self> { method body_mut (line 417) | fn body_mut(&mut self) -> Pin<&mut dyn futures_util::io::AsyncRead> { method from (line 448) | fn from(r: http::Response) -> Response { method read (line 436) | fn read(&mut self, buf: &mut [u8]) -> io::Result { FILE: src/blocking/wait.rs function timeout (line 9) | pub(crate) fn timeout(fut: F, timeout: Option) -> Res... type Waited (line 56) | pub(crate) enum Waited { type ThreadWaker (line 61) | struct ThreadWaker(Thread); method wake (line 64) | fn wake(self: Arc) { method wake_by_ref (line 68) | fn wake_by_ref(self: &Arc) { function enter (line 73) | fn enter() { FILE: src/config.rs type RequestConfigValue (line 35) | pub(crate) trait RequestConfigValue: Copy + Clone + 'static { type Value (line 109) | type Value = Duration; type RequestConfig (line 41) | pub(crate) struct RequestConfig(Option); method default (line 44) | fn default() -> Self { function new (line 53) | pub(crate) fn new(v: Option) -> Self { function fmt_as_field (line 60) | pub(crate) fn fmt_as_field(&self, f: &mut std::fmt::DebugStruct<'_, '_>) { function fetch (line 69) | pub(crate) fn fetch<'client, 'request>( function get (line 82) | pub(crate) fn get(ext: &Extensions) -> Option<&T::Value> { function get_mut (line 87) | pub(crate) fn get_mut(ext: &mut Extensions) -> &mut Option { type TotalTimeout (line 106) | pub(crate) struct TotalTimeout; FILE: src/connect.rs type HttpConnector (line 34) | pub(crate) type HttpConnector = hyper_util::client::legacy::connect::Htt... type Connector (line 37) | pub(crate) enum Connector { type Response (line 46) | type Response = Conn; type Error (line 47) | type Error = BoxError; type Future (line 48) | type Future = Connecting; method poll_ready (line 50) | fn poll_ready(&mut self, cx: &mut Context<'_>) -> Poll Self::Future { type BoxedConnectorService (line 65) | pub(crate) type BoxedConnectorService = BoxCloneSyncService) -> Connector method new (line 171) | pub(crate) fn new( method new_native_tls (line 226) | pub(crate) fn new_native_tls( method from_built_native_tls (line 277) | pub(crate) fn from_built_native_tls( method new_rustls_tls (line 339) | pub(crate) fn new_rustls_tls( method set_timeout (line 413) | pub(crate) fn set_timeout(&mut self, timeout: Option) { method set_verbose (line 417) | pub(crate) fn set_verbose(&mut self, enabled: bool) { method set_keepalive (line 421) | pub(crate) fn set_keepalive(&mut self, dur: Option) { method set_keepalive_interval (line 432) | pub(crate) fn set_keepalive_interval(&mut self, dur: Option) { method set_keepalive_retries (line 443) | pub(crate) fn set_keepalive_retries(&mut self, retries: Option) { method set_socks_resolver (line 455) | pub(crate) fn set_socks_resolver(&mut self, resolver: DynResolver) { method set_tcp_user_timeout (line 460) | pub(crate) fn set_tcp_user_timeout(&mut self, dur: Option) { method set_unix_socket (line 472) | pub(crate) fn set_unix_socket(&mut self, path: Option Resu... method connect_with_maybe_proxy (line 613) | async fn connect_with_maybe_proxy(self, dst: Uri, is_proxy: bool) -> R... method connect_local_transport (line 700) | async fn connect_local_transport(self, dst: Uri) -> Result Resu... method should_use_local_transport (line 895) | fn should_use_local_transport(&self) -> bool { type Response (line 920) | type Response = Conn; type Error (line 921) | type Error = BoxError; type Future (line 922) | type Future = Connecting; method poll_ready (line 924) | fn poll_ready(&mut self, _cx: &mut Context<'_>) -> Poll Self::Future { type Inner (line 509) | enum Inner { method get_http_connector (line 524) | fn get_http_connector(&mut self) -> &mut crate::connect::HttpConnector { function with_timeout (line 904) | async fn with_timeout(f: F, timeout: Option) -> Result Option; method tls_info (line 964) | fn tls_info(&self) -> Option { method tls_info (line 973) | fn tls_info(&self) -> Option { method tls_info (line 980) | fn tls_info(&self) -> Option { method tls_info (line 997) | fn tls_info(&self) -> Option { method tls_info (line 1010) | fn tls_info(&self) -> Option { method tls_info (line 1020) | fn tls_info(&self) -> Option { method tls_info (line 1037) | fn tls_info(&self) -> Option { method tls_info (line 1050) | fn tls_info(&self) -> Option { method tls_info (line 1063) | fn tls_info(&self) -> Option { method tls_info (line 1071) | fn tls_info(&self) -> Option { method tls_info (line 1089) | fn tls_info(&self) -> Option { method tls_info (line 1103) | fn tls_info(&self) -> Option { method tls_info (line 1114) | fn tls_info(&self) -> Option { method tls_info (line 1132) | fn tls_info(&self) -> Option { method tls_info (line 1146) | fn tls_info(&self) -> Option { method tls_info (line 1159) | fn tls_info(&self) -> Option { method tls_info (line 1171) | fn tls_info(&self) -> Option { method tls_info (line 1191) | fn tls_info(&self) -> Option { method tls_info (line 1207) | fn tls_info(&self) -> Option { method tls_info (line 1222) | fn tls_info(&self) -> Option { method tls_info (line 1244) | fn tls_info(&self) -> Option { method tls_info (line 1260) | fn tls_info(&self) -> Option { method tls_info (line 1635) | fn tls_info(&self) -> Option { method tls_info (line 1823) | fn tls_info(&self) -> Option { type AsyncConn (line 1268) | pub(crate) trait AsyncConn: type AsyncConnWithInfo (line 1276) | trait AsyncConnWithInfo: AsyncConn + TlsInfoFactory {} type AsyncConnWithInfo (line 1278) | trait AsyncConnWithInfo: AsyncConn {} type BoxConn (line 1285) | type BoxConn = Box; type Unnameable (line 1290) | pub struct Unnameable(pub(super) Uri); method connected (line 1308) | fn connected(&self) -> Connected { method poll_read (line 1326) | fn poll_read( method poll_write (line 1337) | fn poll_write( method poll_write_vectored (line 1346) | fn poll_write_vectored( method is_write_vectored (line 1355) | fn is_write_vectored(&self) -> bool { method poll_flush (line 1359) | fn poll_flush(self: Pin<&mut Self>, cx: &mut Context) -> Poll, cx: &mut Context) -> Poll &Path; type Internal (line 1389) | pub struct Internal; type WindowsNamedPipeProvider (line 1422) | pub trait WindowsNamedPipeProvider { method reqwest_windows_named_pipe_path (line 1424) | fn reqwest_windows_named_pipe_path(&self, _: Internal) -> &OsStr; type Internal (line 1428) | pub struct Internal; type Connecting (line 1453) | pub(crate) type Connecting = Pin Connected { method connected (line 1499) | fn connected(&self) -> Connected { method connected (line 1520) | fn connected(&self) -> Connected { method connected (line 1534) | fn connected(&self) -> Connected { method connected (line 1550) | fn connected(&self) -> Connected { method connected (line 1568) | fn connected(&self) -> Connected { method poll_read (line 1581) | fn poll_read( method poll_write (line 1592) | fn poll_write( method poll_write_vectored (line 1601) | fn poll_write_vectored( method is_write_vectored (line 1610) | fn is_write_vectored(&self) -> bool { method poll_flush (line 1614) | fn poll_flush( method poll_shutdown (line 1622) | fn poll_shutdown( method connected (line 1665) | fn connected(&self) -> Connected { method connected (line 1680) | fn connected(&self) -> Connected { method connected (line 1697) | fn connected(&self) -> Connected { method connected (line 1714) | fn connected(&self) -> Connected { method connected (line 1733) | fn connected(&self) -> Connected { method connected (line 1754) | fn connected(&self) -> Connected { method poll_read (line 1770) | fn poll_read( method poll_write (line 1781) | fn poll_write( method poll_write_vectored (line 1790) | fn poll_write_vectored( method is_write_vectored (line 1799) | fn is_write_vectored(&self) -> bool { method poll_flush (line 1803) | fn poll_flush( method poll_shutdown (line 1811) | fn poll_shutdown( type DnsResolve (line 1841) | pub(super) enum DnsResolve { type SocksProxyError (line 1847) | pub(super) enum SocksProxyError { method fmt (line 1924) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method source (line 1934) | fn source(&self) -> Option<&(dyn std::error::Error + 'static)> { function connect (line 1853) | pub(super) async fn connect( constant OFF (line 1954) | pub(super) const OFF: Wrapper = Wrapper(false); type Wrapper (line 1957) | pub(super) struct Wrapper(pub(super) bool); method wrap (line 1960) | pub(super) fn wrap(&self, conn: T) -> sup... type Verbose (line 1973) | struct Verbose { method connected (line 1979) | fn connected(&self) -> Connected { method poll_read (line 1985) | fn poll_read( method poll_write (line 2012) | fn poll_write( method poll_write_vectored (line 2027) | fn poll_write_vectored( method is_write_vectored (line 2046) | fn is_write_vectored(&self) -> bool { method poll_flush (line 2050) | fn poll_flush( method poll_shutdown (line 2057) | fn poll_shutdown( function tls_info (line 2067) | fn tls_info(&self) -> Option { type Vectored (line 2072) | struct Vectored<'a, 'b> { function fmt (line 2078) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { FILE: src/cookie.rs type CookieStore (line 11) | pub trait CookieStore: Send + Sync { method set_cookies (line 13) | fn set_cookies(&self, cookie_headers: &mut dyn Iterator Option; method set_cookies (line 167) | fn set_cookies(&self, cookie_headers: &mut dyn Iterator Option { type Cookie (line 19) | pub struct Cookie<'a>(cookie_crate::Cookie<'a>); type Jar (line 31) | pub struct Jar(RwLock); method add_cookie_str (line 157) | pub fn add_cookie_str(&self, cookie: &str, url: &url::Url) { function parse (line 36) | fn parse(value: &'a HeaderValue) -> Result, CookieParseError> { function name (line 45) | pub fn name(&self) -> &str { function value (line 50) | pub fn value(&self) -> &str { function http_only (line 55) | pub fn http_only(&self) -> bool { function secure (line 60) | pub fn secure(&self) -> bool { function same_site_lax (line 65) | pub fn same_site_lax(&self) -> bool { function same_site_strict (line 70) | pub fn same_site_strict(&self) -> bool { function path (line 75) | pub fn path(&self) -> Option<&str> { function domain (line 80) | pub fn domain(&self) -> Option<&str> { function max_age (line 85) | pub fn max_age(&self) -> Option { function expires (line 93) | pub fn expires(&self) -> Option { function fmt (line 102) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { function extract_response_cookie_headers (line 107) | pub(crate) fn extract_response_cookie_headers<'a>( function extract_response_cookies (line 113) | pub(crate) fn extract_response_cookies<'a>( type CookieParseError (line 123) | pub(crate) struct CookieParseError(cookie_crate::ParseError); method fmt (line 126) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { method fmt (line 132) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { type CookieService (line 208) | pub struct CookieService { function new (line 215) | pub fn new(inner: S, cookie_store: Option>)... type Response (line 228) | type Response = Response; type Error (line 229) | type Error = S::Error; type Future (line 230) | type Future = ResponseFuture; type Output (line 277) | type Output = Result, S::Error>; method poll (line 279) | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll) -> Poll) -> Self::Future { FILE: src/dns/gai.rs type GaiResolver (line 8) | pub struct GaiResolver(HyperGaiResolver); method new (line 11) | pub fn new() -> Self { method default (line 17) | fn default() -> Self { method resolve (line 23) | fn resolve(&self, name: Name) -> Resolving { FILE: src/dns/hickory.rs type HickoryDnsResolver (line 18) | pub(crate) struct HickoryDnsResolver { type SocketAddrs (line 25) | struct SocketAddrs { method resolve (line 30) | fn resolve(&self, name: Name) -> Resolving { type Item (line 45) | type Item = SocketAddr; method next (line 47) | fn next(&mut self) -> Option { function new_resolver (line 57) | fn new_resolver() -> TokioResolver { FILE: src/dns/resolve.rs type Addrs (line 15) | pub type Addrs = Box + Send>; type Resolving (line 18) | pub type Resolving = Pin... type Resolve (line 21) | pub trait Resolve: Send + Sync { method resolve (line 33) | fn resolve(&self, name: Name) -> Resolving; method resolve (line 143) | fn resolve(&self, name: Name) -> Resolving { type Name (line 38) | pub struct Name(pub(super) HyperName); method as_str (line 50) | pub fn as_str(&self) -> &str { type IntoResolve (line 43) | pub trait IntoResolve { method into_resolve (line 45) | fn into_resolve(self) -> Arc; method into_resolve (line 155) | fn into_resolve(self) -> Arc { method into_resolve (line 164) | fn into_resolve(self) -> Arc { method into_resolve (line 173) | fn into_resolve(self) -> Arc { type Err (line 56) | type Err = sealed::InvalidNameError; method from_str (line 58) | fn from_str(host: &str) -> Result { type DynResolver (line 66) | pub(crate) struct DynResolver { method new (line 71) | pub(crate) fn new(resolver: Arc) -> Self { method gai (line 76) | pub(crate) fn gai() -> Self { method http_resolve (line 85) | pub(crate) async fn http_resolve( type Response (line 112) | type Response = Addrs; type Error (line 113) | type Error = BoxError; type Future (line 114) | type Future = Resolving; method poll_ready (line 116) | fn poll_ready(&mut self, _: &mut Context<'_>) -> Poll Self::Future { type DnsResolverWithOverrides (line 125) | pub(crate) struct DnsResolverWithOverrides { method new (line 131) | pub(crate) fn new( type InvalidNameError (line 182) | pub struct InvalidNameError { method fmt (line 187) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { FILE: src/error.rs type Result (line 10) | pub type Result = std::result::Result; type Error (line 17) | pub struct Error { method new (line 30) | pub(crate) fn new(kind: Kind, source: Option) -> Error method url (line 60) | pub fn url(&self) -> Option<&Url> { method url_mut (line 69) | pub fn url_mut(&mut self) -> Option<&mut Url> { method with_url (line 74) | pub fn with_url(mut self, url: Url) -> Self { method if_no_url (line 79) | pub(crate) fn if_no_url(mut self, f: impl FnOnce() -> Url) -> Self { method without_url (line 88) | pub fn without_url(mut self) -> Self { method is_builder (line 94) | pub fn is_builder(&self) -> bool { method is_redirect (line 99) | pub fn is_redirect(&self) -> bool { method is_status (line 104) | pub fn is_status(&self) -> bool { method is_timeout (line 116) | pub fn is_timeout(&self) -> bool { method is_request (line 141) | pub fn is_request(&self) -> bool { method is_connect (line 147) | pub fn is_connect(&self) -> bool { method is_body (line 164) | pub fn is_body(&self) -> bool { method is_decode (line 169) | pub fn is_decode(&self) -> bool { method status (line 174) | pub fn status(&self) -> Option { method is_upgrade (line 185) | pub fn is_upgrade(&self) -> bool { method into_io (line 192) | pub(crate) fn into_io(self) -> io::Error { method fmt (line 211) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { method fmt (line 228) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { type BoxError (line 21) | pub(crate) type BoxError = Box; type Inner (line 23) | struct Inner { function cast_to_internal_error (line 202) | pub(crate) fn cast_to_internal_error(error: BoxError) -> BoxError { method source (line 276) | fn source(&self) -> Option<&(dyn StdError + 'static)> { function from (line 283) | fn from(err: Error) -> wasm_bindgen::JsValue { function from (line 290) | fn from(err: Error) -> js_sys::Error { type Kind (line 296) | pub(crate) enum Kind { function builder (line 311) | pub(crate) fn builder>(e: E) -> Error { function body (line 315) | pub(crate) fn body>(e: E) -> Error { function decode (line 319) | pub(crate) fn decode>(e: E) -> Error { function request (line 323) | pub(crate) fn request>(e: E) -> Error { function redirect (line 327) | pub(crate) fn redirect>(e: E, url: Url) -> Error { function status_code (line 331) | pub(crate) fn status_code( function url_bad_scheme (line 347) | pub(crate) fn url_bad_scheme(url: Url) -> Error { function url_invalid_uri (line 351) | pub(crate) fn url_invalid_uri(url: Url) -> Error { function upgrade (line 361) | pub(crate) fn upgrade>(e: E) -> Error { function decode_io (line 368) | pub(crate) fn decode_io(e: io::Error) -> Error { type TimedOut (line 382) | pub(crate) struct TimedOut; method fmt (line 385) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { type BadScheme (line 393) | pub(crate) struct BadScheme; method fmt (line 396) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { function assert_send (line 407) | fn assert_send() {} function assert_sync (line 408) | fn assert_sync() {} function test_source_chain (line 411) | fn test_source_chain() { function mem_size_of (line 422) | fn mem_size_of() { function roundtrip_io_error (line 428) | fn roundtrip_io_error() { function from_unknown_io_error (line 442) | fn from_unknown_io_error() { function is_timeout (line 452) | fn is_timeout() { FILE: src/into_url.rs type IntoUrl (line 7) | pub trait IntoUrl: IntoUrlSealed {} type IntoUrlSealed (line 14) | pub trait IntoUrlSealed { method into_url (line 17) | fn into_url(self) -> crate::Result; method as_str (line 19) | fn as_str(&self) -> &str; method into_url (line 23) | fn into_url(self) -> crate::Result { method as_str (line 41) | fn as_str(&self) -> &str { method into_url (line 47) | fn into_url(self) -> crate::Result { method as_str (line 51) | fn as_str(&self) -> &str { method into_url (line 57) | fn into_url(self) -> crate::Result { method as_str (line 61) | fn as_str(&self) -> &str { method into_url (line 67) | fn into_url(self) -> crate::Result { method as_str (line 71) | fn as_str(&self) -> &str { function into_url_file_scheme (line 90) | fn into_url_file_scheme() { function into_url_blob_scheme (line 99) | fn into_url_blob_scheme() { FILE: src/lib.rs function get (line 325) | pub async fn get(url: T) -> crate::Result { function _assert_impls (line 329) | fn _assert_impls() { FILE: src/proxy.rs type Proxy (line 56) | pub struct Proxy { method http (line 191) | pub fn http(proxy_scheme: U) -> crate::Result { method https (line 209) | pub fn https(proxy_scheme: U) -> crate::Result { method all (line 230) | pub fn all(proxy_scheme: U) -> crate::Result { method custom (line 255) | pub fn custom(fun: F) -> Proxy method new (line 265) | fn new(intercept: Intercept) -> Proxy { method basic_auth (line 289) | pub fn basic_auth(mut self, username: &str, password: &str) -> Proxy { method custom_http_auth (line 317) | pub fn custom_http_auth(mut self, header_value: HeaderValue) -> Proxy { method headers (line 338) | pub fn headers(mut self, headers: HeaderMap) -> Proxy { method no_proxy (line 361) | pub fn no_proxy(mut self, no_proxy: Option) -> Proxy { method into_matcher (line 366) | pub(crate) fn into_matcher(self) -> Matcher { method fmt (line 465) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { type NoProxy (line 64) | pub struct NoProxy { method from_env (line 476) | pub fn from_env() -> Option { method from_string (line 506) | pub fn from_string(no_proxy_list: &str) -> Option { type Extra (line 69) | struct Extra { type Matcher (line 76) | pub(crate) struct Matcher { method system (line 515) | pub(crate) fn system() -> Self { method intercept (line 528) | pub(crate) fn intercept(&self, dst: &Uri) -> Option { method maybe_has_http_auth (line 549) | pub(crate) fn maybe_has_http_auth(&self) -> bool { method http_non_tunnel_basic_auth (line 553) | pub(crate) fn http_non_tunnel_basic_auth(&self, dst: &Uri) -> Option bool { method http_non_tunnel_custom_headers (line 568) | pub(crate) fn http_non_tunnel_custom_headers(&self, dst: &Uri) -> Opti... method fmt (line 581) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Matcher_ (line 83) | enum Matcher_ { type Intercepted (line 90) | pub(crate) struct Intercepted { method uri (line 590) | pub(crate) fn uri(&self) -> &http::Uri { method basic_auth (line 594) | pub(crate) fn basic_auth(&self) -> Option<&HeaderValue> { method custom_headers (line 601) | pub(crate) fn custom_headers(&self) -> Option<&HeaderMap> { method raw_auth (line 609) | pub(crate) fn raw_auth(&self) -> Option<(&str, &str)> { method fmt (line 615) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type IntoProxy (line 120) | pub trait IntoProxy { method into_proxy (line 121) | fn into_proxy(self) -> crate::Result; method into_proxy (line 125) | fn into_proxy(self) -> crate::Result { function _implied_bounds (line 168) | fn _implied_bounds() { function cache_maybe_has_http_auth (line 455) | fn cache_maybe_has_http_auth(url: &Url, extra: &Option) -> ... function cache_maybe_has_http_custom_headers (line 460) | fn cache_maybe_has_http_custom_headers(url: &Url, extra: &Option Option { method fmt (line 804) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { function encode_basic_auth (line 809) | pub(crate) fn encode_basic_auth(username: &str, password: &str) -> Heade... function url (line 817) | fn url(s: &str) -> http::Uri { function intercepted_uri (line 821) | fn intercepted_uri(p: &Matcher, s: &str) -> Uri { function test_http (line 826) | fn test_http() { function test_https (line 838) | fn test_https() { function test_all (line 850) | fn test_all() { function test_custom (line 865) | fn test_custom() { function test_standard_with_custom_auth_header (line 889) | fn test_standard_with_custom_auth_header() { function test_custom_with_custom_auth_header (line 902) | fn test_custom_with_custom_auth_header() { function test_maybe_has_http_auth (line 914) | fn test_maybe_has_http_auth() { function test_socks_proxy_default_port (line 933) | fn test_socks_proxy_default_port() { FILE: src/redirect.rs type Policy (line 28) | pub struct Policy { method limited (line 51) | pub fn limited(max: usize) -> Self { method none (line 58) | pub fn none() -> Self { method custom (line 102) | pub fn custom(policy: T) -> Self method redirect (line 131) | pub fn redirect(&self, attempt: Attempt) -> Action { method check (line 146) | pub(crate) fn check(&self, status: StatusCode, next: &Url, previous: &... method is_default (line 155) | pub(crate) fn is_default(&self) -> bool { method fmt (line 215) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { type Attempt (line 35) | pub struct Attempt<'a> { type Action (line 43) | pub struct Action { method default (line 161) | fn default() -> Policy { function status (line 169) | pub fn status(&self) -> StatusCode { function url (line 174) | pub fn url(&self) -> &Url { function previous (line 179) | pub fn previous(&self) -> &[Url] { function follow (line 183) | pub fn follow(self) -> Action { function stop (line 192) | pub fn stop(self) -> Action { function error (line 201) | pub fn error>>(self, error: E) -... type PolicyKind (line 208) | enum PolicyKind { method fmt (line 221) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { type ActionKind (line 233) | pub(crate) enum ActionKind { function remove_sensitive_headers (line 239) | pub(crate) fn remove_sensitive_headers(headers: &mut HeaderMap, next: &U... type TooManyRedirects (line 254) | struct TooManyRedirects; method fmt (line 257) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type TowerRedirectPolicy (line 265) | pub(crate) struct TowerRedirectPolicy { method new (line 273) | pub(crate) fn new(policy: Policy) -> Self { method with_referer (line 282) | pub(crate) fn with_referer(&mut self, referer: bool) -> &mut Self { method with_https_only (line 287) | pub(crate) fn with_https_only(&mut self, https_only: bool) -> &mut Self { method redirect (line 306) | fn redirect(&mut self, attempt: &TowerAttempt<'_>) -> Result Option Option { function test_redirect_policy_limit (line 356) | fn test_redirect_policy_limit() { function test_redirect_policy_limit_to_0 (line 377) | fn test_redirect_policy_limit_to_0() { function test_redirect_policy_custom (line 389) | fn test_redirect_policy_custom() { function test_remove_sensitive_headers (line 412) | fn test_remove_sensitive_headers() { FILE: src/response.rs type ResponseUrl (line 4) | pub(crate) struct ResponseUrl(pub Url); type ResponseBuilderExt (line 9) | pub trait ResponseBuilderExt { method url (line 12) | fn url(self, url: Url) -> Self; method url (line 16) | fn url(self, url: Url) -> Self { function test_response_builder_ext (line 28) | fn test_response_builder_ext() { FILE: src/retry.rs type Builder (line 48) | pub struct Builder { method scoped (line 102) | pub fn scoped(scope: impl scope::Scope) -> Self { method no_budget (line 118) | pub fn no_budget(mut self) -> Self { method max_extra_load (line 138) | pub fn max_extra_load(mut self, extra_percent: f32) -> Self { method max_retries_per_request (line 158) | pub fn max_retries_per_request(mut self, max: u32) -> Self { method classify_fn (line 179) | pub fn classify_fn(self, func: F) -> Self method classify (line 187) | pub fn classify(mut self, classifier: impl classify::Classify) -> Self { method default (line 192) | pub(crate) fn default() -> Builder { method into_policy (line 202) | pub(crate) fn into_policy(self) -> Policy { type Policy (line 59) | pub(crate) struct Policy { type Future (line 222) | type Future = std::future::Ready<()>; method retry (line 224) | fn retry( method clone_request (line 250) | fn clone_request(&mut self, req: &Req) -> Option { function for_host (line 74) | pub fn for_host(host: S) -> Builder function never (line 85) | pub fn never() -> Builder { function scoped (line 89) | fn scoped(func: F) -> Builder type Req (line 218) | type Req = http::Request; function is_retryable_error (line 270) | fn is_retryable_error(err: &crate::Error) -> bool { type Scope (line 319) | pub trait Scope: Send + Sync + 'static { method applies_to (line 320) | fn applies_to(&self, req: &super::Req) -> bool; method applies_to (line 341) | fn applies_to(&self, req: &super::Req) -> bool { type ScopeFn (line 335) | pub struct ScopeFn(pub(super) F); type Scoped (line 347) | pub(super) enum Scoped { method applies_to (line 353) | pub(super) fn applies_to(&self, req: &super::Req) -> bool { method fmt (line 364) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type Classify (line 375) | pub trait Classify: Send + Sync + 'static { method classify (line 376) | fn classify(&self, req_rep: ReqRep<'_>) -> Action; method classify (line 391) | fn classify(&self, req_rep: ReqRep<'_>) -> Action { type ClassifyFn (line 385) | pub struct ClassifyFn(pub(super) F); type ReqRep (line 397) | pub struct ReqRep<'a>(&'a super::Req, Result &http::Method { function uri (line 404) | pub fn uri(&self) -> &http::Uri { function status (line 408) | pub fn status(&self) -> Option { function error (line 412) | pub fn error(&self) -> Option<&(dyn std::error::Error + 'static)> { function retryable (line 416) | pub fn retryable(self) -> Action { function success (line 420) | pub fn success(self) -> Action { function is_protocol_nack (line 424) | fn is_protocol_nack(&self) -> bool { type Action (line 435) | pub enum Action { type Classifier (line 441) | pub(super) enum Classifier { method classify (line 448) | pub(super) fn classify( method fmt (line 469) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { FILE: src/tls.rs type CertificateRevocationList (line 63) | pub struct CertificateRevocationList { method from_pem (line 453) | pub fn from_pem(pem: &[u8]) -> crate::Result { method from_pem_bundle (line 482) | pub fn from_pem_bundle(pem_bundle: &[u8]) -> crate::Result(&self) -> rustls_pki_types::Certificat... method fmt (line 511) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { type Certificate (line 70) | pub struct Certificate { method from_der (line 144) | pub fn from_der(der: &[u8]) -> crate::Result { method from_pem (line 169) | pub fn from_pem(pem: &[u8]) -> crate::Result { method from_pem_bundle (line 195) | pub fn from_pem_bundle(pem_bundle: &[u8]) -> crate::Result crate::Result fmt::Result { type Cert (line 79) | enum Cert { type Identity (line 86) | pub struct Identity { method from_pkcs12_der (line 283) | pub fn from_pkcs12_der(der: &[u8], password: &str) -> crate::Result crate::Result crate::Result { method add_to_native_tls (line 395) | pub(crate) fn add_to_native_tls( method add_to_rustls (line 410) | pub(crate) fn add_to_rustls( method fmt (line 504) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { type ClientCert (line 94) | enum ClientCert { method clone (line 107) | fn clone(&self) -> Self { type Version (line 518) | pub struct Version(InnerVersion); constant TLS_1_0 (line 533) | pub const TLS_1_0: Version = Version(InnerVersion::Tls1_0); constant TLS_1_1 (line 535) | pub const TLS_1_1: Version = Version(InnerVersion::Tls1_1); constant TLS_1_2 (line 537) | pub const TLS_1_2: Version = Version(InnerVersion::Tls1_2); constant TLS_1_3 (line 539) | pub const TLS_1_3: Version = Version(InnerVersion::Tls1_3); method to_native_tls (line 542) | pub(crate) fn to_native_tls(self) -> Option { method from_rustls (line 552) | pub(crate) fn from_rustls(version: rustls::ProtocolVersion) -> Option<... type InnerVersion (line 522) | enum InnerVersion { type TlsBackend (line 565) | pub(crate) enum TlsBackend { method fmt (line 581) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { method default (line 599) | fn default() -> TlsBackend { function rustls_store (line 616) | pub(crate) fn rustls_store(certs: Vec) -> crate::Result Vec { type IgnoreHostname (line 701) | pub(crate) struct IgnoreHostname { method new (line 708) | pub(crate) fn new( method verify_server_cert (line 721) | fn verify_server_cert( method verify_tls12_signature (line 741) | fn verify_tls12_signature( method verify_tls13_signature (line 750) | fn verify_tls13_signature( method supported_verify_schemes (line 759) | fn supported_verify_schemes(&self) -> Vec { type TlsInfo (line 767) | pub struct TlsInfo { method peer_certificate (line 773) | pub fn peer_certificate(&self) -> Option<&[u8]> { method fmt (line 779) | fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result { function certificate_from_der_invalid (line 790) | fn certificate_from_der_invalid() { function certificate_from_pem_invalid (line 796) | fn certificate_from_pem_invalid() { function identity_from_pkcs12_der_invalid (line 802) | fn identity_from_pkcs12_der_invalid() { function identity_from_pkcs8_pem_invalid (line 808) | fn identity_from_pkcs8_pem_invalid() { function identity_from_pem_invalid (line 814) | fn identity_from_pem_invalid() { function identity_from_pem_pkcs1_key (line 820) | fn identity_from_pem_pkcs1_key() { function certificates_from_pem_bundle (line 830) | fn certificates_from_pem_bundle() { function crl_from_pem (line 865) | fn crl_from_pem() { function crl_from_pem_bundle (line 873) | fn crl_from_pem_bundle() { FILE: src/util.rs function basic_auth (line 4) | pub fn basic_auth(username: U, password: Option

) -> HeaderValue function fast_random (line 28) | pub(crate) fn fast_random() -> u64 { function replace_headers (line 50) | pub(crate) fn replace_headers(dst: &mut HeaderMap, src: HeaderMap) { function add_cookie_header (line 81) | pub(crate) fn add_cookie_header( type Escape (line 91) | pub(crate) struct Escape<'a>(&'a [u8]); function new (line 95) | pub(crate) fn new(bytes: &'a [u8]) -> Self { function fmt (line 101) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { function fmt (line 108) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { FILE: src/wasm/body.rs type Body (line 16) | pub struct Body { method as_bytes (line 66) | pub fn as_bytes(&self) -> Option<&[u8]> { method to_js_value (line 74) | pub(crate) fn to_js_value(&self) -> crate::Result { method as_single (line 87) | pub(crate) fn as_single(&self) -> Option<&Single> { method from_form (line 96) | pub(crate) fn from_form(f: Form) -> Body { method into_part (line 104) | pub(crate) fn into_part(self) -> Body { method is_empty (line 115) | pub(crate) fn is_empty(&self) -> bool { method try_clone (line 123) | pub(crate) fn try_clone(&self) -> Option { method from (line 136) | fn from(bytes: Bytes) -> Body { method from (line 145) | fn from(vec: Vec) -> Body { method from (line 154) | fn from(s: &'static [u8]) -> Body { method from (line 163) | fn from(s: String) -> Body { method from (line 172) | fn from(s: &'static str) -> Body { method fmt (line 180) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { type Inner (line 20) | enum Inner { type Single (line 28) | pub(crate) enum Single { method as_bytes (line 34) | fn as_bytes(&self) -> &[u8] { method to_js_value (line 41) | pub(crate) fn to_js_value(&self) -> JsValue { method is_empty (line 53) | fn is_empty(&self) -> bool { method default (line 186) | fn default() -> Body { function log (line 211) | fn log(s: String); function test_body (line 215) | async fn test_body() { function test_body_js_static_str (line 221) | async fn test_body_js_static_str() { function test_body_js_string (line 243) | async fn test_body_js_string() { function test_body_js_static_u8_slice (line 266) | async fn test_body_js_static_u8_slice() { function test_body_js_vec_u8 (line 294) | async fn test_body_js_vec_u8() { FILE: src/wasm/client.rs function fetch_with_request (line 16) | fn fetch_with_request(input: &web_sys::Request) -> Promise; function js_fetch (line 19) | fn js_fetch(req: &web_sys::Request) -> Promise { type Client (line 40) | pub struct Client { method new (line 51) | pub fn new() -> Self { method builder (line 58) | pub fn builder() -> ClientBuilder { method get (line 67) | pub fn get(&self, url: U) -> RequestBuilder { method post (line 76) | pub fn post(&self, url: U) -> RequestBuilder { method put (line 85) | pub fn put(&self, url: U) -> RequestBuilder { method patch (line 94) | pub fn patch(&self, url: U) -> RequestBuilder { method delete (line 103) | pub fn delete(&self, url: U) -> RequestBuilder { method head (line 112) | pub fn head(&self, url: U) -> RequestBuilder { method request (line 124) | pub fn request(&self, method: Method, url: U) -> RequestBu... method execute (line 141) | pub fn execute( method merge_headers (line 149) | fn merge_headers(&self, req: &mut Request) { method execute_request (line 161) | pub(super) fn execute_request( method fmt (line 177) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { type ClientBuilder (line 45) | pub struct ClientBuilder { method fmt (line 185) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { method new (line 293) | pub fn new() -> Self { method build (line 300) | pub fn build(mut self) -> Result { method user_agent (line 312) | pub fn user_agent(mut self, value: V) -> ClientBuilder method default_headers (line 329) | pub fn default_headers(mut self, headers: HeaderMap) -> ClientBuilder { method default (line 171) | fn default() -> Self { function fetch (line 196) | async fn fetch(req: Request) -> crate::Result { method default (line 338) | fn default() -> Self { type Config (line 344) | struct Config { method fmt_fields (line 359) | fn fmt_fields(&self, f: &mut fmt::DebugStruct<'_, '_>) { method default (line 350) | fn default() -> Config { function default_headers (line 371) | async fn default_headers() { function default_headers_clone (line 395) | async fn default_headers_clone() { function user_agent_header (line 436) | fn user_agent_header() { FILE: src/wasm/mod.rs function set_timeout (line 25) | fn set_timeout(handler: &Function, timeout: i32) -> JsValue; function clear_timeout (line 28) | fn clear_timeout(handle: JsValue) -> JsValue; function promise (line 31) | async fn promise(promise: js_sys::Promise) -> Result crate::Result { method signal (line 60) | fn signal(&self) -> AbortSignal { method timeout (line 64) | fn timeout(&mut self, timeout: Duration) { method drop (line 79) | fn drop(&mut self) { FILE: src/wasm/multipart.rs type Form (line 12) | pub struct Form { method is_empty (line 17) | pub(crate) fn is_empty(&self) -> bool { method new (line 52) | pub fn new() -> Form { method text (line 67) | pub fn text(self, name: T, value: U) -> Form method part (line 76) | pub fn part(self, name: T, part: Part) -> Form method with_inner (line 83) | fn with_inner(self, func: F) -> Self method to_form_data (line 92) | pub(crate) fn to_form_data(&self) -> crate::Result { method fmt (line 107) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { type Part (line 23) | pub struct Part { method text (line 116) | pub fn text(value: T) -> Part method bytes (line 128) | pub fn bytes(value: T) -> Part method stream (line 140) | pub fn stream>(value: T) -> Part { method new (line 144) | fn new(value: Body) -> Part { method mime_str (line 152) | pub fn mime_str(self, mime: &str) -> crate::Result { method mime (line 157) | fn mime(self, mime: Mime) -> Part { method file_name (line 162) | pub fn file_name(self, filename: T) -> Part method headers (line 170) | pub fn headers(self, headers: HeaderMap) -> Part { method with_inner (line 174) | fn with_inner(self, func: F) -> Self method append_to_form (line 184) | fn append_to_form( method blob (line 218) | fn blob(&self, mime_type: Option<&Mime>) -> crate::Result fmt::Result { type FormParts (line 28) | pub(crate) struct FormParts

{ type PartMetadata (line 32) | pub(crate) struct PartMetadata { method new (line 284) | pub(crate) fn new() -> Self { method mime (line 292) | pub(crate) fn mime(mut self, mime: Mime) -> Self { method file_name (line 297) | pub(crate) fn file_name(mut self, filename: T) -> Self method headers (line 305) | pub(crate) fn headers(mut self, headers: T) -> Self method fmt_fields (line 315) | pub(crate) fn fmt_fields<'f, 'fa, 'fb>( type PartProps (line 38) | pub(crate) trait PartProps { method metadata (line 39) | fn metadata(&self) -> &PartMetadata; method metadata (line 251) | fn metadata(&self) -> &PartMetadata { method default (line 45) | fn default() -> Self { function new (line 259) | pub(crate) fn new() -> Self { function part (line 264) | pub(crate) fn part(mut self, name: T, part: P) -> Self function fmt_fields (line 274) | pub(crate) fn fmt_fields(&self, ty_name: &'static str, f: &mut fmt::Form... function test_multipart_js (line 334) | async fn test_multipart_js() { FILE: src/wasm/request.rs type Request (line 20) | pub struct Request { method new (line 40) | pub fn new(method: Method, url: Url) -> Self { method method (line 55) | pub fn method(&self) -> &Method { method method_mut (line 61) | pub fn method_mut(&mut self) -> &mut Method { method url (line 67) | pub fn url(&self) -> &Url { method url_mut (line 73) | pub fn url_mut(&mut self) -> &mut Url { method headers (line 79) | pub fn headers(&self) -> &HeaderMap { method headers_mut (line 85) | pub fn headers_mut(&mut self) -> &mut HeaderMap { method body (line 91) | pub fn body(&self) -> Option<&Body> { method body_mut (line 97) | pub fn body_mut(&mut self) -> &mut Option { method timeout (line 103) | pub fn timeout(&self) -> Option<&Duration> { method timeout_mut (line 109) | pub fn timeout_mut(&mut self) -> &mut Option { method try_clone (line 116) | pub fn try_clone(&self) -> Option { method fmt (line 564) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { type Error (line 592) | type Error = crate::Error; method try_from (line 594) | fn try_from(req: HttpRequest) -> crate::Result { type RequestBuilder (line 32) | pub struct RequestBuilder { method new (line 136) | pub(super) fn new(client: Client, request: crate::Result) -> ... method from_parts (line 141) | pub fn from_parts(client: crate::Client, request: crate::Request) -> c... method query (line 172) | pub fn query(mut self, query: &T) -> RequestBui... method form (line 210) | pub fn form(mut self, form: &T) -> RequestBuild... method json (line 233) | pub fn json(mut self, json: &T) -> RequestBuild... method basic_auth (line 253) | pub fn basic_auth(self, username: U, password: Option

) -> Req... method bearer_auth (line 263) | pub fn bearer_auth(self, token: T) -> RequestBuilder method body (line 272) | pub fn body>(mut self, body: T) -> RequestBuilder { method timeout (line 280) | pub fn timeout(mut self, timeout: Duration) -> RequestBuilder { method multipart (line 290) | pub fn multipart(mut self, multipart: super::multipart::Form) -> Reque... method header (line 298) | pub fn header(mut self, key: K, value: V) -> RequestBuilder method headers (line 326) | pub fn headers(mut self, headers: crate::header::HeaderMap) -> Request... method fetch_mode_no_cors (line 342) | pub fn fetch_mode_no_cors(mut self) -> RequestBuilder { method fetch_credentials_same_origin (line 358) | pub fn fetch_credentials_same_origin(mut self) -> RequestBuilder { method fetch_credentials_include (line 374) | pub fn fetch_credentials_include(mut self) -> RequestBuilder { method fetch_credentials_omit (line 390) | pub fn fetch_credentials_omit(mut self) -> RequestBuilder { method fetch_cache_default (line 406) | pub fn fetch_cache_default(mut self) -> RequestBuilder { method fetch_cache_no_store (line 422) | pub fn fetch_cache_no_store(mut self) -> RequestBuilder { method fetch_cache_reload (line 438) | pub fn fetch_cache_reload(mut self) -> RequestBuilder { method fetch_cache_no_cache (line 454) | pub fn fetch_cache_no_cache(mut self) -> RequestBuilder { method fetch_cache_force_cache (line 470) | pub fn fetch_cache_force_cache(mut self) -> RequestBuilder { method fetch_cache_only_if_cached (line 486) | pub fn fetch_cache_only_if_cached(mut self) -> RequestBuilder { method build (line 495) | pub fn build(self) -> crate::Result { method build_split (line 504) | pub fn build_split(self) -> (Client, crate::Result) { method send (line 528) | pub async fn send(self) -> crate::Result { method try_clone (line 551) | pub fn try_clone(&self) -> Option { method fmt (line 570) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { function fmt_request_fields (line 579) | fn fmt_request_fields<'a, 'b>( type Error (line 617) | type Error = crate::Error; function try_from (line 619) | fn try_from(req: Request) -> crate::Result { FILE: src/wasm/response.rs type Response (line 20) | pub struct Response { method new (line 29) | pub(super) fn new( method status (line 43) | pub fn status(&self) -> StatusCode { method headers (line 49) | pub fn headers(&self) -> &HeaderMap { method headers_mut (line 55) | pub fn headers_mut(&mut self) -> &mut HeaderMap { method content_length (line 66) | pub fn content_length(&self) -> Option { method url (line 77) | pub fn url(&self) -> &Url { method json (line 92) | pub async fn json(self) -> crate::Result { method text (line 99) | pub async fn text(self) -> crate::Result { method bytes (line 117) | pub async fn bytes(self) -> crate::Result { method bytes_stream (line 137) | pub fn bytes_stream(self) -> impl futures_core::Stream crate::Result { method error_for_status_ref (line 177) | pub fn error_for_status_ref(&self) -> crate::Result<&Self> { method fmt (line 188) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { FILE: tests/badssl.rs function test_badssl_modern (line 6) | async fn test_badssl_modern() { function test_badssl_self_signed (line 24) | async fn test_badssl_self_signed() { function test_badssl_no_built_in_roots (line 43) | async fn test_badssl_no_built_in_roots() { function test_badssl_wrong_host (line 58) | async fn test_badssl_wrong_host() { FILE: tests/blocking.rs function test_response_text (line 10) | fn test_response_text() { function donot_set_content_length_0_if_have_no_body (line 24) | fn donot_set_content_length_0_if_have_no_body() { function test_response_non_utf_8_text (line 47) | fn test_response_non_utf_8_text() { function test_response_json (line 68) | fn test_response_json() { function test_response_copy_to (line 82) | fn test_response_copy_to() { function test_get (line 96) | fn test_get() { function test_post (line 110) | fn test_post() { function test_post_form (line 134) | fn test_post_form() { function test_error_for_status_4xx (line 165) | fn test_error_for_status_4xx() { function test_error_for_status_5xx (line 184) | fn test_error_for_status_5xx() { function test_default_headers (line 204) | fn test_default_headers() { function test_override_default_headers (line 225) | fn test_override_default_headers() { function test_appended_headers_not_overwritten (line 259) | fn test_appended_headers_not_overwritten() { function test_blocking_inside_a_runtime (line 309) | fn test_blocking_inside_a_runtime() { function test_allowed_methods_blocking (line 325) | fn test_allowed_methods_blocking() { function test_body_from_bytes (line 347) | fn test_body_from_bytes() { function blocking_add_json_default_content_type_if_not_set_manually (line 363) | fn blocking_add_json_default_content_type_if_not_set_manually() { function blocking_update_json_content_type_if_set_manually (line 381) | fn blocking_update_json_content_type_if_set_manually() { function test_response_no_tls_info_for_http (line 395) | fn test_response_no_tls_info_for_http() { FILE: tests/brotli.rs function brotli_response (line 7) | async fn brotli_response() { function brotli_single_byte_chunks (line 12) | async fn brotli_single_byte_chunks() { function test_brotli_empty_body (line 17) | async fn test_brotli_empty_body() { function test_accept_header_is_not_changed_if_set (line 40) | async fn test_accept_header_is_not_changed_if_set() { function test_accept_encoding_header_is_not_changed_if_set (line 66) | async fn test_accept_encoding_header_is_not_changed_if_set() { function brotli_case (line 88) | async fn brotli_case(response_size: usize, chunk_size: usize) { constant COMPRESSED_RESPONSE_HEADERS (line 150) | const COMPRESSED_RESPONSE_HEADERS: &[u8] = b"HTTP/1.1 200 OK\x0d\x0a\ constant RESPONSE_CONTENT (line 155) | const RESPONSE_CONTENT: &str = "some message here"; function brotli_compress (line 157) | fn brotli_compress(input: &[u8]) -> Vec { function test_non_chunked_non_fragmented_response (line 165) | async fn test_non_chunked_non_fragmented_response() { function test_chunked_fragmented_response_1 (line 196) | async fn test_chunked_fragmented_response_1() { function test_chunked_fragmented_response_2 (line 250) | async fn test_chunked_fragmented_response_2() { function test_chunked_fragmented_response_with_extra_bytes (line 305) | async fn test_chunked_fragmented_response_with_extra_bytes() { FILE: tests/ci.rs function server_panics_should_propagate (line 8) | async fn server_panics_should_propagate() { FILE: tests/client.rs function auto_headers (line 15) | async fn auto_headers() { function donot_set_content_length_0_if_have_no_body (line 65) | async fn donot_set_content_length_0_if_have_no_body() { function user_agent (line 89) | async fn user_agent() { function response_text (line 109) | async fn response_text() { function response_bytes (line 127) | async fn response_bytes() { function response_json (line 146) | async fn response_json() { function body_pipe_response (line 163) | async fn body_pipe_response() { function overridden_dns_resolution_with_gai (line 211) | async fn overridden_dns_resolution_with_gai() { function overridden_dns_resolution_with_gai_multiple (line 234) | async fn overridden_dns_resolution_with_gai_multiple() { function overridden_dns_resolution_with_hickory_dns (line 269) | async fn overridden_dns_resolution_with_hickory_dns() { function overridden_dns_resolution_with_hickory_dns_multiple (line 294) | async fn overridden_dns_resolution_with_hickory_dns_multiple() { function use_preconfigured_tls_with_bogus_backend (line 330) | fn use_preconfigured_tls_with_bogus_backend() { function use_preconfigured_native_tls_default (line 341) | fn use_preconfigured_native_tls_default() { function use_preconfigured_rustls_default (line 356) | fn use_preconfigured_rustls_default() { function http1_only (line 376) | async fn http1_only() { function http2_upgrade (line 392) | async fn http2_upgrade() { function test_allowed_methods (line 413) | async fn test_allowed_methods() { function add_json_default_content_type_if_not_set_manually (line 437) | fn add_json_default_content_type_if_not_set_manually() { function update_json_content_type_if_set_manually (line 453) | fn update_json_content_type_if_set_manually() { function test_tls_info (line 467) | async fn test_tls_info() { function close_connection_after_idle_timeout (line 496) | async fn close_connection_after_idle_timeout() { function http1_reason_phrase (line 517) | async fn http1_reason_phrase() { function error_has_url (line 545) | async fn error_has_url() { FILE: tests/connector_layers.rs function non_op_layer (line 16) | async fn non_op_layer() { function non_op_layer_with_timeout (line 36) | async fn non_op_layer_with_timeout() { function with_connect_timeout_layer_never_returning (line 58) | async fn with_connect_timeout_layer_never_returning() { function with_connect_timeout_layer_slow (line 79) | async fn with_connect_timeout_layer_slow() { function multiple_timeout_layers_under_threshold (line 102) | async fn multiple_timeout_layers_under_threshold() { function multiple_timeout_layers_over_threshold (line 126) | async fn multiple_timeout_layers_over_threshold() { function with_concurrency_limit_layer_timeout (line 152) | async fn with_concurrency_limit_layer_timeout() { function with_concurrency_limit_layer_success (line 189) | async fn with_concurrency_limit_layer_success() { function non_op_layer_blocking_client (line 229) | fn non_op_layer_blocking_client() { function timeout_layer_blocking_client (line 248) | fn timeout_layer_blocking_client() { function concurrency_layer_blocking_client_timeout (line 270) | fn concurrency_layer_blocking_client_timeout() { function concurrency_layer_blocking_client_success (line 307) | fn concurrency_layer_blocking_client_success() { function no_generic_bounds_required_for_client_new (line 348) | async fn no_generic_bounds_required_for_client_new() { function no_generic_bounds_required_for_client_new_blocking (line 363) | fn no_generic_bounds_required_for_client_new_blocking() { FILE: tests/cookie.rs function cookie_response_accessor (line 5) | async fn cookie_response_accessor() { function cookie_store_simple (line 75) | async fn cookie_store_simple() { function cookie_store_overwrite_existing (line 99) | async fn cookie_store_overwrite_existing() { function cookie_store_max_age (line 135) | async fn cookie_store_max_age() { function cookie_store_expires (line 154) | async fn cookie_store_expires() { function cookie_store_path (line 177) | async fn cookie_store_path() { FILE: tests/deflate.rs function deflate_response (line 9) | async fn deflate_response() { function deflate_single_byte_chunks (line 14) | async fn deflate_single_byte_chunks() { function test_deflate_empty_body (line 19) | async fn test_deflate_empty_body() { function test_accept_header_is_not_changed_if_set (line 42) | async fn test_accept_header_is_not_changed_if_set() { function test_accept_encoding_header_is_not_changed_if_set (line 68) | async fn test_accept_encoding_header_is_not_changed_if_set() { function deflate_case (line 90) | async fn deflate_case(response_size: usize, chunk_size: usize) { constant COMPRESSED_RESPONSE_HEADERS (line 152) | const COMPRESSED_RESPONSE_HEADERS: &[u8] = b"HTTP/1.1 200 OK\x0d\x0a\ constant RESPONSE_CONTENT (line 157) | const RESPONSE_CONTENT: &str = "some message here"; function deflate_compress (line 159) | fn deflate_compress(input: &[u8]) -> Vec { function test_non_chunked_non_fragmented_response (line 166) | async fn test_non_chunked_non_fragmented_response() { function test_chunked_fragmented_response_1 (line 197) | async fn test_chunked_fragmented_response_1() { function test_chunked_fragmented_response_2 (line 251) | async fn test_chunked_fragmented_response_2() { function test_chunked_fragmented_response_with_extra_bytes (line 306) | async fn test_chunked_fragmented_response_with_extra_bytes() { FILE: tests/gzip.rs function gzip_response (line 11) | async fn gzip_response() { function gzip_single_byte_chunks (line 16) | async fn gzip_single_byte_chunks() { function test_gzip_empty_body (line 21) | async fn test_gzip_empty_body() { function test_accept_header_is_not_changed_if_set (line 44) | async fn test_accept_header_is_not_changed_if_set() { function test_accept_encoding_header_is_not_changed_if_set (line 70) | async fn test_accept_encoding_header_is_not_changed_if_set() { function gzip_case (line 92) | async fn gzip_case(response_size: usize, chunk_size: usize) { constant COMPRESSED_RESPONSE_HEADERS (line 154) | const COMPRESSED_RESPONSE_HEADERS: &[u8] = b"HTTP/1.1 200 OK\x0d\x0a\ constant RESPONSE_CONTENT (line 159) | const RESPONSE_CONTENT: &str = "some message here"; function gzip_compress (line 161) | fn gzip_compress(input: &[u8]) -> Vec { function test_non_chunked_non_fragmented_response (line 168) | async fn test_non_chunked_non_fragmented_response() { function test_chunked_fragmented_response_1 (line 199) | async fn test_chunked_fragmented_response_1() { function test_chunked_fragmented_response_2 (line 252) | async fn test_chunked_fragmented_response_2() { function test_chunked_fragmented_response_with_extra_bytes (line 306) | async fn test_chunked_fragmented_response_with_extra_bytes() { FILE: tests/http3.rs function assert_send_sync (line 10) | fn assert_send_sync(_: &T) {} function http3_request_full (line 13) | async fn http3_request_full() { function find_free_tcp_addr (line 41) | async fn find_free_tcp_addr() -> std::net::SocketAddr { function http3_test_failed_connection (line 48) | async fn http3_test_failed_connection() { function http3_test_concurrent_request (line 111) | async fn http3_test_concurrent_request() { function http3_test_h3_stop_sending_before_response_no_error (line 158) | async fn http3_test_h3_stop_sending_before_response_no_error() { function http3_test_h3_stop_sending_before_response_no_error_request_body (line 251) | async fn http3_test_h3_stop_sending_before_response_no_error_request_bod... function http3_test_h3_stop_sending_before_response_internal_error (line 347) | async fn http3_test_h3_stop_sending_before_response_internal_error() { function http3_test_reconnection (line 447) | async fn http3_test_reconnection() { function http3_request_stream (line 516) | async fn http3_request_stream() { function http3_request_stream_error (line 550) | async fn http3_request_stream_error() { FILE: tests/multipart.rs function text_part (line 7) | async fn text_part() { function stream_part (line 61) | async fn stream_part() { function blocking_file_part (line 125) | fn blocking_file_part() { function async_impl_file_part (line 182) | async fn async_impl_file_part() { FILE: tests/not_tcp.rs function unix_socket_works (line 8) | async fn unix_socket_works() { function unix_socket_ignores_proxies (line 24) | async fn unix_socket_ignores_proxies() { function unix_socket_uses_tls (line 43) | async fn unix_socket_uses_tls() { FILE: tests/proxy.rs function http_proxy (line 15) | async fn http_proxy() { function http_proxy_basic_auth (line 41) | async fn http_proxy_basic_auth() { function http_proxy_basic_auth_parsed (line 75) | async fn http_proxy_basic_auth_parsed() { function system_http_proxy_basic_auth_parsed (line 105) | async fn system_http_proxy_basic_auth_parsed() { function test_no_proxy (line 150) | async fn test_no_proxy() { function test_custom_headers (line 176) | async fn test_custom_headers() { function test_using_system_proxy (line 211) | async fn test_using_system_proxy() { function http_over_http (line 243) | async fn http_over_http() { function tunnel_detects_auth_required (line 271) | async fn tunnel_detects_auth_required() { function tunnel_includes_proxy_auth (line 309) | async fn tunnel_includes_proxy_auth() { function tunnel_includes_user_agent (line 349) | async fn tunnel_includes_user_agent() { function tunnel_includes_proxy_auth_with_multiple_proxies (line 386) | async fn tunnel_includes_proxy_auth_with_multiple_proxies() { FILE: tests/redirect.rs function test_redirect_301_and_302_and_303_changes_post_to_get (line 9) | async fn test_redirect_301_and_302_and_303_changes_post_to_get() { function test_redirect_307_and_308_tries_to_get_again (line 46) | async fn test_redirect_307_and_308_tries_to_get_again() { function test_redirect_307_and_308_tries_to_post_again (line 82) | async fn test_redirect_307_and_308_tries_to_post_again() { function test_redirect_307_does_not_try_if_reader_cannot_reset (line 132) | fn test_redirect_307_does_not_try_if_reader_cannot_reset() { function test_redirect_removes_sensitive_headers (line 171) | async fn test_redirect_removes_sensitive_headers() { function test_redirect_policy_can_return_errors (line 218) | async fn test_redirect_policy_can_return_errors() { function test_redirect_policy_can_stop_redirects_without_an_error (line 234) | async fn test_redirect_policy_can_stop_redirects_without_an_error() { function test_referer_is_not_set_if_disabled (line 260) | async fn test_referer_is_not_set_if_disabled() { function test_invalid_location_stops_redirect_gh484 (line 287) | async fn test_invalid_location_stops_redirect_gh484() { function test_invalid_scheme_is_rejected (line 305) | async fn test_invalid_scheme_is_rejected() { function test_redirect_302_with_set_cookies (line 322) | async fn test_redirect_302_with_set_cookies() { function test_redirect_https_only_enforced_gh1312 (line 355) | async fn test_redirect_https_only_enforced_gh1312() { function test_redirect_limit_to_1 (line 381) | async fn test_redirect_limit_to_1() { function test_redirect_custom (line 415) | async fn test_redirect_custom() { function test_scheme_only_check_after_policy_return_follow (line 447) | async fn test_scheme_only_check_after_policy_return_follow() { function test_redirect_301_302_303_empty_payload_headers (line 483) | async fn test_redirect_301_302_303_empty_payload_headers() { FILE: tests/retry.rs function retries_apply_in_scope (line 10) | async fn retries_apply_in_scope() { function default_retries_have_a_limit (line 52) | async fn default_retries_have_a_limit() { function highly_concurrent_requests_to_http2_server_with_low_max_concurrent_streams (line 80) | async fn highly_concurrent_requests_to_http2_server_with_low_max_concurr... function highly_concurrent_requests_to_slow_http2_server_with_low_max_concurrent_streams (line 111) | async fn highly_concurrent_requests_to_slow_http2_server_with_low_max_co... FILE: tests/support/delay_layer.rs type DelayLayer (line 14) | pub struct DelayLayer { method new (line 19) | pub const fn new(delay: Duration) -> Self { type Service (line 25) | type Service = Delay; method layer (line 26) | fn layer(&self, service: S) -> Self::Service { method fmt (line 32) | fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result { type Delay (line 41) | pub struct Delay { function new (line 46) | pub fn new(inner: S, delay: Duration) -> Self { type Response (line 56) | type Response = S::Response; type Error (line 58) | type Error = BoxError; type Future (line 60) | type Future = ResponseFuture; type Output (line 102) | type Output = Result; method poll (line 104) | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll Self::Future { function new (line 92) | pub(crate) fn new(response: S, sleep: Sleep) -> Self { FILE: tests/support/delay_server.rs type Server (line 25) | pub struct Server { method new (line 34) | pub async fn new(func: F1, apply_config: F2, delay: D... method shutdown (line 112) | pub async fn shutdown(mut self) { method addr (line 120) | pub fn addr(&self) -> net::SocketAddr { type Builder (line 31) | type Builder = hyper_util::server::conn::auto::Builder(err: E) -> Vec FILE: tests/support/not_tcp.rs type Server (line 13) | pub struct Server { method path (line 26) | pub fn path(&self) -> &std::path::Path { method events (line 30) | pub fn events(&mut self) -> Vec { type Event (line 21) | pub enum Event { method drop (line 40) | fn drop(&mut self) { function uds (line 53) | pub fn uds(func: F) -> Server type Builder (line 61) | type Builder = hyper_util::server::conn::auto::Builder(func: F1, apply_config: F2) -> S... function random_tmp_path (line 137) | fn random_tmp_path() -> std::path::PathBuf { FILE: tests/support/server.rs type Server (line 17) | pub struct Server { method addr (line 30) | pub fn addr(&self) -> net::SocketAddr { method events (line 34) | pub fn events(&mut self) -> Vec { type Event (line 25) | pub enum Event { method drop (line 44) | fn drop(&mut self) { function http (line 57) | pub fn http(func: F) -> Server type Builder (line 69) | type Builder = hyper_util::server::conn::auto::Builder(func: F1, apply_config: F2) ... type Http3 (line 157) | pub struct Http3 { method new (line 163) | pub fn new() -> Self { method with_addr (line 167) | pub fn with_addr(mut self, addr: std::net::SocketAddr) -> Self { method build (line 172) | pub fn build(self, func: F1) -> Server method build_with_stop_sending_before_response (line 187) | pub fn build_with_stop_sending_before_response( method build_server (line 206) | fn build_server( function install_default_crypto_provider (line 335) | fn install_default_crypto_provider() -> bool { function low_level_with_response (line 352) | pub fn low_level_with_response(do_response: F) -> Server function low_level_server_client (line 412) | async fn low_level_server_client(mut client_socket: TcpStream, do_res... function low_level_read_http_request (line 429) | async fn low_level_read_http_request( FILE: tests/timeouts.rs function client_timeout (line 9) | async fn client_timeout() { function request_timeout (line 37) | async fn request_timeout() { function connect_timeout (line 69) | async fn connect_timeout() { function connect_many_timeout_succeeds (line 93) | async fn connect_many_timeout_succeeds() { function connect_many_timeout (line 121) | async fn connect_many_timeout() { function response_timeout (line 152) | async fn response_timeout() { function read_timeout_applies_to_headers (line 183) | async fn read_timeout_applies_to_headers() { function read_timeout_applies_to_body (line 212) | async fn read_timeout_applies_to_body() { function read_timeout_allows_slow_response_body (line 244) | async fn read_timeout_allows_slow_response_body() { function timeout_closes_connection (line 286) | fn timeout_closes_connection() { function timeout_blocking_request (line 313) | fn timeout_blocking_request() { function connect_timeout_blocking_request (line 341) | fn connect_timeout_blocking_request() { function blocking_request_timeout_body (line 360) | fn blocking_request_timeout_body() { function write_timeout_large_body (line 397) | fn write_timeout_large_body() { function response_body_timeout_forwards_size_hint (line 430) | async fn response_body_timeout_forwards_size_hint() { FILE: tests/upgrade.rs function http_upgrade (line 8) | async fn http_upgrade() { FILE: tests/wasm_simple.rs function log (line 13) | fn log(s: &str); function simple_example (line 17) | async fn simple_example() { function request_with_timeout (line 28) | async fn request_with_timeout() { function preserve_content_type_if_set_manually (line 43) | fn preserve_content_type_if_set_manually() { function add_default_json_content_type_if_not_set_manually (line 63) | fn add_default_json_content_type_if_not_set_manually() { FILE: tests/zstd.rs function zstd_response (line 6) | async fn zstd_response() { function zstd_single_byte_chunks (line 11) | async fn zstd_single_byte_chunks() { function test_zstd_empty_body (line 16) | async fn test_zstd_empty_body() { function test_accept_header_is_not_changed_if_set (line 39) | async fn test_accept_header_is_not_changed_if_set() { function test_accept_encoding_header_is_not_changed_if_set (line 65) | async fn test_accept_encoding_header_is_not_changed_if_set() { function zstd_case (line 87) | async fn zstd_case(response_size: usize, chunk_size: usize) { constant COMPRESSED_RESPONSE_HEADERS (line 147) | const COMPRESSED_RESPONSE_HEADERS: &[u8] = b"HTTP/1.1 200 OK\x0d\x0a\ constant RESPONSE_CONTENT (line 152) | const RESPONSE_CONTENT: &str = "some message here"; function zstd_compress (line 154) | fn zstd_compress(input: &[u8]) -> Vec { function test_non_chunked_non_fragmented_response (line 159) | async fn test_non_chunked_non_fragmented_response() { function test_non_chunked_non_fragmented_multiple_frames_response (line 191) | async fn test_non_chunked_non_fragmented_multiple_frames_response() { function test_chunked_fragmented_multiple_frames_in_one_chunk (line 231) | async fn test_chunked_fragmented_multiple_frames_in_one_chunk() { function test_connection_reuse_with_chunked_fragmented_multiple_frames_in_one_chunk (line 300) | async fn test_connection_reuse_with_chunked_fragmented_multiple_frames_i... function test_chunked_fragmented_response_1 (line 407) | async fn test_chunked_fragmented_response_1() { function test_chunked_fragmented_response_2 (line 461) | async fn test_chunked_fragmented_response_2() { function test_chunked_fragmented_response_with_extra_bytes (line 516) | async fn test_chunked_fragmented_response_with_extra_bytes() {