• Home
  • Raw
  • Download

Lines Matching full:hyper

70     /// TLS](https://hyper.rs/guides/client/configuration).
94 /// use hyper::Client;
100 /// # let infer: Client<_, hyper::Body> = client;
131 /// use hyper::{Client, Uri};
160 /// use hyper::{Body, Method, Client, Request};
827 // `https://hyper.rs` would parse with `/` path, don't in authority_form()
912 /// use hyper::Client;
918 /// # let infer: Client<_, hyper::Body> = client;
1106 /// This option will prevent Hyper's client from returning an error encountered
1135 /// Setting this to true will force hyper to use queued strategy
1138 /// Default is `auto`. In this mode hyper will try to guess which
1204 /// If not set, hyper will use a default.
1219 /// If not set, hyper will use a default.
1247 /// If not set, hyper will use a default.
1434 let mut uri = "http://hyper.rs".parse().unwrap(); in set_relative_uri_with_implicit_path()
1441 let mut uri = "http://hyper.rs/guides".parse().unwrap(); in test_origin_form()
1445 let mut uri = "http://hyper.rs/guides?foo=bar".parse().unwrap(); in test_origin_form()
1452 let mut uri = "http://hyper.rs/guides".parse().unwrap(); in test_absolute_form()
1454 assert_eq!(uri.to_string(), "http://hyper.rs/guides"); in test_absolute_form()
1456 let mut uri = "https://hyper.rs/guides".parse().unwrap(); in test_absolute_form()
1465 let mut uri = "http://hyper.rs".parse().unwrap(); in test_authority_form()
1467 assert_eq!(uri.to_string(), "hyper.rs"); in test_authority_form()
1469 let mut uri = "hyper.rs".parse().unwrap(); in test_authority_form()
1471 assert_eq!(uri.to_string(), "hyper.rs"); in test_authority_form()
1476 let mut uri = "hyper.rs".parse().unwrap(); in test_extract_domain_connect_no_port()
1479 assert_eq!(host, "hyper.rs"); in test_extract_domain_connect_no_port()
1485 is_schema_secure(&"http://hyper.rs".parse::<Uri>().unwrap()), in test_is_secure()
1488 assert_eq!(is_schema_secure(&"hyper.rs".parse::<Uri>().unwrap()), false); in test_is_secure()
1490 is_schema_secure(&"wss://hyper.rs".parse::<Uri>().unwrap()), in test_is_secure()
1494 is_schema_secure(&"ws://hyper.rs".parse::<Uri>().unwrap()), in test_is_secure()
1501 assert!(get_non_default_port(&"http://hyper.rs".parse::<Uri>().unwrap()).is_none()); in test_get_non_default_port()
1502 assert!(get_non_default_port(&"http://hyper.rs:80".parse::<Uri>().unwrap()).is_none()); in test_get_non_default_port()
1503 assert!(get_non_default_port(&"https://hyper.rs:443".parse::<Uri>().unwrap()).is_none()); in test_get_non_default_port()
1504 assert!(get_non_default_port(&"hyper.rs:80".parse::<Uri>().unwrap()).is_none()); in test_get_non_default_port()
1507 get_non_default_port(&"http://hyper.rs:123".parse::<Uri>().unwrap()) in test_get_non_default_port()
1513 get_non_default_port(&"https://hyper.rs:80".parse::<Uri>().unwrap()) in test_get_non_default_port()
1519 get_non_default_port(&"hyper.rs:123".parse::<Uri>().unwrap()) in test_get_non_default_port()