/commonlibrary/rust/ylong_http/ylong_http_client/src/util/ |
D | proxy.rs | 30 list: Vec<Proxy>, 34 pub(crate) fn add_proxy(&mut self, proxy: Proxy) { in add_proxy() argument 38 pub(crate) fn match_proxy(&self, uri: &Uri) -> Option<&Proxy> { in match_proxy() argument 52 pub(crate) struct Proxy { struct 57 impl Proxy { impl 66 Ok(Proxy::new(Intercept::Http(ProxyInfo::new(uri)?))) in http() 70 Ok(Proxy::new(Intercept::Https(ProxyInfo::new(uri)?))) in https() 74 Ok(Proxy::new(Intercept::All(ProxyInfo::new(uri)?))) in all() 263 use crate::util::proxy::{Proxies, Proxy}; 275 proxies.add_proxy(Proxy::http("http://www.aaa.com").unwrap()); in ut_proxies() [all …]
|
D | mod.rs | 29 pub use config::{Proxy, ProxyBuilder, Redirect, Retry, SpeedLimit, Timeout};
|
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/config/ |
D | settings.rs | 389 pub struct Proxy(proxy::Proxy); struct 391 impl Proxy { implementation 404 inner: proxy::Proxy::all(addr), in all() 421 inner: proxy::Proxy::http(addr), in http() 438 inner: proxy::Proxy::https(addr), in https() 442 pub(crate) fn inner(self) -> proxy::Proxy { in inner() argument 459 inner: Result<proxy::Proxy, HttpClientError>, 508 pub fn build(self) -> Result<Proxy, HttpClientError> { in build() argument 509 Ok(Proxy(self.inner?)) in build()
|
D | mod.rs | 22 pub use settings::{Proxy, ProxyBuilder, Redirect, Retry, SpeedLimit, Timeout};
|
/commonlibrary/rust/ylong_http/ylong_http_client/examples/ |
D | sync_proxy_http.rs | 18 use ylong_http_client::util::Proxy; 24 .proxy(Proxy::http("https://proxy.example.com").build()?) in main()
|
D | async_proxy_http.rs | 20 use ylong_http_client::{EmptyBody, HttpClientError, Proxy, Request}; 27 .proxy(Proxy::all("http://proxy.example.com").build()?) in main()
|
/commonlibrary/c_utils/base/src/ |
D | thread_ex.cpp | 33 static int Proxy(const ThreadParam* t) in Proxy() function 73 para.startRoutine = reinterpret_cast<ThreadFunc>(&ThreadParam::Proxy); in CreatePThread()
|
/commonlibrary/rust/ylong_http/ylong_http_client/src/sync_impl/ |
D | client.rs | 26 ClientConfig, ConnectorConfig, HttpConfig, HttpVersion, Proxy, Redirect, Timeout, 312 pub fn proxy(mut self, proxy: Proxy) -> Self { in proxy()
|
/commonlibrary/ets_utils/js_util_module/container/hashset/ |
D | js_hashset.ts | 59 return new Proxy(this, new HandlerHashSet());
|
/commonlibrary/rust/ylong_http/ |
D | README_zh.md | 49 - `Proxy`:HTTP 代理能力。发送 HTTP 请求时,向代理发送而非直接发送给原始服务器,然后由代理服务器返回原始服务器的响应。
|
D | README.md | 53 - `Proxy`: HTTP proxy capability. When an HTTP request is sent, it is sent to a proxy instead of di…
|
/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/ |
D | client.rs | 25 use crate::{sleep, timeout, ErrorKind, HttpClientError, Proxy, Request, Timeout, Uri}; 457 pub fn proxy(mut self, proxy: Proxy) -> Self { in proxy()
|
/commonlibrary/ets_utils/js_util_module/container/queue/ |
D | js_queue.ts | 94 return new Proxy(this, new HandlerQueue());
|
/commonlibrary/ets_utils/js_util_module/container/stack/ |
D | js_stack.ts | 91 return new Proxy(this, new HandlerStack());
|
/commonlibrary/ets_utils/js_util_module/container/hashmap/ |
D | js_hashmap.ts | 59 return new Proxy(this, new HandlerHashMap());
|
/commonlibrary/ets_utils/js_util_module/container/deque/ |
D | js_deque.ts | 97 return new Proxy(this, new HandlerDeque());
|
/commonlibrary/ets_utils/js_util_module/container/plainarray/ |
D | js_plainarray.ts | 59 return new Proxy(this, new HandlerPlainArray());
|
/commonlibrary/ets_utils/js_util_module/container/lightweightset/ |
D | js_lightweightset.ts | 59 return new Proxy(this, new HandlerLightWeightSet());
|
/commonlibrary/ets_utils/js_util_module/container/treeset/ |
D | js_treeset.ts | 63 return new Proxy(this, new HandlerTreeSet());
|
/commonlibrary/ets_utils/js_util_module/container/treemap/ |
D | js_treemap.ts | 63 return new Proxy(this, new HandlerTreeMap());
|
/commonlibrary/ets_utils/js_util_module/container/lightweightmap/ |
D | js_lightweightmap.ts | 59 return new Proxy(this, new HandlerLightWeightMap());
|
/commonlibrary/ets_utils/js_util_module/container/vector/ |
D | js_vector.ts | 104 return new Proxy(this, new HandlerVector());
|
/commonlibrary/ets_utils/js_util_module/container/arraylist/ |
D | js_arraylist.ts | 102 return new Proxy(this, new HandlerArrayList());
|
/commonlibrary/ets_utils/js_util_module/container/linkedlist/ |
D | js_linkedlist.ts | 125 return new Proxy(this, new HandlerLinkedList());
|
/commonlibrary/ets_utils/js_util_module/container/list/ |
D | js_list.ts | 115 return new Proxy(this, new HandlerList());
|