Home
last modified time | relevance | path

Searched refs:Proxy (Results 1 – 25 of 28) sorted by relevance

12

/commonlibrary/rust/ylong_http/ylong_http_client/src/util/
Dproxy.rs30 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 …]
Dmod.rs29 pub use config::{Proxy, ProxyBuilder, Redirect, Retry, SpeedLimit, Timeout};
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/config/
Dsettings.rs389 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()
Dmod.rs22 pub use settings::{Proxy, ProxyBuilder, Redirect, Retry, SpeedLimit, Timeout};
/commonlibrary/rust/ylong_http/ylong_http_client/examples/
Dsync_proxy_http.rs18 use ylong_http_client::util::Proxy;
24 .proxy(Proxy::http("https://proxy.example.com").build()?) in main()
Dasync_proxy_http.rs20 use ylong_http_client::{EmptyBody, HttpClientError, Proxy, Request};
27 .proxy(Proxy::all("http://proxy.example.com").build()?) in main()
/commonlibrary/c_utils/base/src/
Dthread_ex.cpp33 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/
Dclient.rs26 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/
Djs_hashset.ts59 return new Proxy(this, new HandlerHashSet());
/commonlibrary/rust/ylong_http/
DREADME_zh.md49 - `Proxy`:HTTP 代理能力。发送 HTTP 请求时,向代理发送而非直接发送给原始服务器,然后由代理服务器返回原始服务器的响应。
DREADME.md53 - `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/
Dclient.rs25 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/
Djs_queue.ts94 return new Proxy(this, new HandlerQueue());
/commonlibrary/ets_utils/js_util_module/container/stack/
Djs_stack.ts91 return new Proxy(this, new HandlerStack());
/commonlibrary/ets_utils/js_util_module/container/hashmap/
Djs_hashmap.ts59 return new Proxy(this, new HandlerHashMap());
/commonlibrary/ets_utils/js_util_module/container/deque/
Djs_deque.ts97 return new Proxy(this, new HandlerDeque());
/commonlibrary/ets_utils/js_util_module/container/plainarray/
Djs_plainarray.ts59 return new Proxy(this, new HandlerPlainArray());
/commonlibrary/ets_utils/js_util_module/container/lightweightset/
Djs_lightweightset.ts59 return new Proxy(this, new HandlerLightWeightSet());
/commonlibrary/ets_utils/js_util_module/container/treeset/
Djs_treeset.ts63 return new Proxy(this, new HandlerTreeSet());
/commonlibrary/ets_utils/js_util_module/container/treemap/
Djs_treemap.ts63 return new Proxy(this, new HandlerTreeMap());
/commonlibrary/ets_utils/js_util_module/container/lightweightmap/
Djs_lightweightmap.ts59 return new Proxy(this, new HandlerLightWeightMap());
/commonlibrary/ets_utils/js_util_module/container/vector/
Djs_vector.ts104 return new Proxy(this, new HandlerVector());
/commonlibrary/ets_utils/js_util_module/container/arraylist/
Djs_arraylist.ts102 return new Proxy(this, new HandlerArrayList());
/commonlibrary/ets_utils/js_util_module/container/linkedlist/
Djs_linkedlist.ts125 return new Proxy(this, new HandlerLinkedList());
/commonlibrary/ets_utils/js_util_module/container/list/
Djs_list.ts115 return new Proxy(this, new HandlerList());

12