Searched refs:Proxy (Results 1 - 13 of 13) sorted by relevance
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/config/ |
H A D | settings.rs | 316 /// Proxy settings. 318 /// `Proxy` has functions which is below: 327 /// # use ylong_http_client::Proxy; 331 /// let proxy = Proxy::http("http://www.example.com").build(); 335 /// let proxy = Proxy::https("http://www.example.com").build(); 338 /// let proxy = Proxy::all("http://www.example.com").build(); 341 pub struct Proxy(proxy::Proxy); structure names 343 impl Proxy { impls 349 /// use ylong_http_client::Proxy; [all...] |
H A D | mod.rs | 26 pub use settings::{Proxy, ProxyBuilder, Redirect, Retry, SpeedLimit, Timeout};
|
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/ |
H A D | proxy.rs | 14 //! Proxy implementation. 29 list: Vec<Proxy>, 33 pub(crate) fn add_proxy(&mut self, proxy: Proxy) { 37 pub(crate) fn match_proxy(&self, uri: &Uri) -> Option<&Proxy> { 42 /// Proxy is a configuration of client which should manage the destination 45 /// A `Proxy` has below rules: 51 pub(crate) struct Proxy { 56 impl Proxy { impls 65 Ok(Proxy::new(Intercept::Http(ProxyInfo::new(uri)?))) 69 Ok(Proxy [all...] |
/commonlibrary/rust/ylong_http/ylong_http_client/examples/ |
H A D | sync_proxy_http.rs | 18 use ylong_http_client::{EmptyBody, HttpClientError, Proxy, Request}; 23 .proxy(Proxy::http("https://proxy.example.com").build()?) in main()
|
/commonlibrary/rust/ylong_http/ylong_http_client/tests/ |
H A D | sdv_async_http_proxy.rs | 39 Proxy: true, in sdv_async_client_send_request() 61 ylong_http_client::Proxy::http( in sdv_async_client_send_request()
|
H A D | sdv_async_http_client_error.rs | 101 Proxy: false, in sdv_err_req_timeout() 178 Proxy: false, in sdv_err_redirect_wrong_location() 243 Proxy: false, in sdv_err_response_with_wrong_body_length()
|
H A D | sdv_async_custom_dns_resolver.rs | 39 Proxy: false, in sdv_client_custom_dns_resolver()
|
H A D | sdv_async_http_body_io.rs | 39 Proxy: false, in sdv_body_chunk_and_trailer()
|
/commonlibrary/c_utils/base/src/ |
H A D | thread_ex.cpp | 33 static int Proxy(const ThreadParam* t) in Proxy() function 67 auto t = new ThreadParam; // t would be delete in ThreadParam::Proxy in CreatePThread() 73 para.startRoutine = reinterpret_cast<ThreadFunc>(&ThreadParam::Proxy); in CreatePThread()
|
/commonlibrary/rust/ylong_http/ylong_http_client/src/sync_impl/ |
H A D | client.rs | 21 ClientConfig, ConnectorConfig, HttpConfig, HttpVersion, Proxy, Redirect, Timeout, 190 /// Options and flags that is related to `Proxy`. 285 /// Adds a `Proxy` to the list of proxies the `Client` will use. 291 /// # use ylong_http_client::{HttpClientError, Proxy}; 294 /// let builder = ClientBuilder::new().proxy(Proxy::http("http://www.example.com").build()?); 297 pub fn proxy(mut self, proxy: Proxy) -> Self { in proxy()
|
/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/ |
H A D | client.rs | 31 ClientConfig, ConnectorConfig, HttpConfig, HttpVersion, Proxy, Redirect, Timeout, 281 /// Options and flags that is related to `Proxy`. 423 /// Adds a `Proxy` to the list of proxies the `Client` will use. 429 /// # use ylong_http_client::{HttpClientError, Proxy}; 432 /// let builder = ClientBuilder::new().proxy(Proxy::http("http://www.example.com").build()?); 436 pub fn proxy(mut self, proxy: Proxy) -> Self { in proxy() 965 use crate::{Proxy, Timeout}; 1093 .proxy(Proxy::http("http://www.example.com").build().unwrap()) in ut_client_builder() 1442 Proxy::http(format!("http://{}{}", handle.addr.as_str(), "/data").as_str()) in ut_client_http_proxy()
|
/commonlibrary/rust/ylong_http/ylong_http_client/tests/tcp_server/ |
H A D | async_utils.rs | 47 Proxy: false,
|
H A D | mod.rs | 37 Proxy: $proxy: expr,
|
Completed in 6 milliseconds