Home
last modified time | relevance | path

Searched refs:https (Results 1 - 4 of 4) sorted by relevance

/commonlibrary/rust/ylong_http/ylong_http_client/src/util/config/
H A Dsettings.rs329 /// // All http request will be intercepted by `https://www.example.com`,
330 /// // but https request will link to server directly.
333 /// // All https request will be intercepted by `http://www.example.com`,
335 /// let proxy = Proxy::https("http://www.example.com").build();
337 /// // All https and http request will be intercepted by "http://www.example.com".
351 /// // All https and http request will be intercepted by `http://example.com`.
367 /// // All http request will be intercepted by https://example.com,
368 /// // but https request will link to server directly.
369 /// let proxy = Proxy::http("https://example.com");
384 /// // All https reques
388 pub fn https(addr: &str) -> ProxyBuilder { https() functions
[all...]
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/
H A Dproxy.rs68 pub(crate) fn https(uri: &str) -> Result<Self, HttpClientError> {
296 proxies.add_proxy(Proxy::https("http://www.bbb.com").unwrap()); in ut_proxies()
305 let uri = Uri::from_bytes(b"https://www.example.com").unwrap(); in ut_proxies()
/commonlibrary/rust/ylong_http/ylong_http/src/response/
H A Dstatus.rs21 //! [`Status Codes`]: https://httpwg.org/specs/rfc9110.html#status.codes
30 /// [`Status Codes`]: https://httpwg.org/specs/rfc9110.html#status.codes
121 /// [`1xx (Informational)`]: https://httpwg.org/specs/rfc9110.html#status.1xx
139 /// [`2xx (Successful)`]: https://httpwg.org/specs/rfc9110.html#status.2xx
157 /// [`3xx (Redirection)`]: https://httpwg.org/specs/rfc9110.html#status.3xx
175 /// [`4xx (Client Error)`]: https://httpwg.org/specs/rfc9110.html#status.4xx
194 /// [`5xx (Server Error)`]: https://httpwg.org/specs/rfc9110.html#status.5xx
285 /// [`100 Continue`]: https://tools.ietf.org/html/rfc7231#section-6.2.1 in fmt()
288 /// [`101 Switching Protocols`]: https://tools.ietf.org/html/rfc7231#section-6.2.2 in fmt()
291 /// [`102 Processing`]: https in fmt()
[all...]
/commonlibrary/rust/ylong_http/ylong_http/src/request/uri/
H A Dmod.rs19 //! [`URI`]: https://httpwg.org/specs/rfc9110.html#uri.references
51 /// [`URI`]: https://httpwg.org/specs/rfc9110.html#uri.references
52 /// [RFC9110, Section 4.2]: https://httpwg.org/specs/rfc9110.html#uri.schemes
553 /// This method only accepts `b"http"` and `b"https"` as input.
565 } else if bytes.eq_ignore_ascii_case(b"https") { in from_bytes()
585 Protocol::Https => "https", in as_str()
1033 const HTTPS_SCHEME_LENGTH: usize = "https://".len(); in scheme_token()
1050 } else if bytes[..pos].eq_ignore_ascii_case(b"https") { in scheme_token()
1348 ("https", "hyper.rs:80", "/foo", "a=1"), in build_from_builder()
1350 "https", in build_from_builder()
[all...]

Completed in 4 milliseconds