Home
last modified time | relevance | path

Searched defs:client (Results 1 – 25 of 39) sorted by relevance

12

/commonlibrary/rust/ylong_http/ylong_http_client/tests/common/
Dsync_utils.rs221 let client = ylong_http_client::sync_impl::Client::builder() localVariable
226 let client = std::sync::Arc::new(client); localVariable
229 let client = std::sync::Arc::clone(&client); localVariable
279 let client = ylong_http_client::sync_impl::Client::new(); localVariable
280 let client = Arc::new(client); localVariable
283 let client = std::sync::Arc::clone(&client); localVariable
Dasync_utils.rs223 let client = ylong_http_client::async_impl::Client::builder() localVariable
229 let client = std::sync::Arc::new(client); localVariable
232 let client = std::sync::Arc::clone(&client); localVariable
282 let client = ylong_http_client::async_impl::Client::new(); localVariable
283 let client = std::sync::Arc::new(client); localVariable
286 let client = std::sync::Arc::clone(&client); localVariable
/commonlibrary/rust/ylong_http/ylong_http_client/tests/
Dsdv_async_https_pinning.rs82 let client = ylong_http_client::async_impl::Client::builder() in sdv_client_public_key_pinning() localVariable
131 let client = ylong_http_client::async_impl::Client::builder() in sdv_client_public_key_pinning() localVariable
180 let client = ylong_http_client::async_impl::Client::builder() in sdv_client_public_key_pinning() localVariable
267 let client = ylong_http_client::async_impl::Client::builder() in sdv_client_public_key_root_pinning() localVariable
319 let client = ylong_http_client::async_impl::Client::builder() in sdv_client_public_key_root_pinning() localVariable
370 let client = ylong_http_client::async_impl::Client::builder() in sdv_client_public_key_root_pinning() localVariable
422 let client = ylong_http_client::async_impl::Client::builder() in sdv_client_public_key_root_pinning() localVariable
505 let client = ylong_http_client::async_impl::Client::builder() in sdv_client_public_key_pinning_error() localVariable
Dsdv_async_http_client_error.rs63 let client = Client::builder() in sdv_err_start_connect_timeout() localVariable
122 let client = Client::builder() in sdv_err_req_timeout() localVariable
199 let client = Client::builder() in sdv_err_redirect_wrong_location() localVariable
263 let client = Client::builder() in sdv_err_response_with_wrong_body_length() localVariable
Dsdv_async_time_group.rs58 let client = Client::builder().build().expect("Build Client failed."); in sdv_client_request_time_group_http1() localVariable
109 let client = Client::builder() in sdv_client_request_time_group_https1() localVariable
158 let client = Client::builder() in sdv_client_request_time_group_http2() localVariable
218 let client = Client::builder() in sdv_client_request_time_group_proxy() localVariable
288 let client = Client::builder() in sdv_client_request_time_group_redirect() localVariable
Dsdv_async_http10.rs57 let client = Client::builder().build().expect("Build Client failed."); in sdv_async_http10_get() localVariable
111 let client = Client::builder() in sdv_async_https10_get() localVariable
162 let client = Client::builder().build().expect("Build Client failed."); in sdv_async_http10_connect() localVariable
226 let client = Client::builder().build().expect("Build Client failed."); in sdv_async_http10_no_support() localVariable
Dsdv_async_interceptor.rs80 let client = Client::builder(); localVariable
81 let client = match $version { localVariable
88 let client = client localVariable
124 let client = Client::builder(); localVariable
125 let client = match $version { localVariable
132 let client = client localVariable
248 let client = Client::builder() in sdv_client_request_interceptor_http1_retry() localVariable
303 let client = Client::builder() in sdv_client_request_interceptor_http1_redirect_response() localVariable
392 let client = Client::builder() in sdv_client_request_interceptor_http2_retry() localVariable
448 let client = Client::builder() in sdv_client_request_interceptor_http2_redirect_response() localVariable
Dsdv_async_certs_adapter.rs60 let client = Client::builder() in sdv_client_request_http1_verify_true() localVariable
157 let client = Client::builder() in sdv_client_request_http2_verify_true() localVariable
200 let client = Client::builder() in sdv_client_request_http1_verify_false() localVariable
252 let client = Client::builder() in sdv_client_request_http1_verify_true_invalid_cert() localVariable
Dsdv_async_http2.rs169 let client = Client::builder() in sdv_async_h2_client_send_request() localVariable
226 let client = Client::builder() in sdv_async_h2_client_send_request_concurrently() localVariable
251 let client = client_interface.clone(); in sdv_async_h2_client_send_request_concurrently() localVariable
Dsdv_async_dns_resolver.rs64 let client = Client::builder() localVariable
112 let client = Client::builder() localVariable
160 let client = Client::builder() localVariable
208 let client = Client::builder() localVariable
411 let client = Client::builder() in sdv_client_request_dns_resolver_ipv4_multiple2() localVariable
485 let client = Client::builder() in sdv_client_request_dns_resolver_ipv6_multiple2() localVariable
559 let client = Client::builder() in sdv_client_request_dns_resolver_ipv4_ipv6() localVariable
Dsdv_async_client_build.rs34 let client = Client::builder() in sdv_client_tls_builder() localVariable
/commonlibrary/rust/ylong_http/ylong_http_client/tests/tcp_server/
Dasync_utils.rs127 …let client = ylong_http_client::async_impl::Client::builder().max_h1_conn_number(10).build().unwra… localVariable
128 let client = std::sync::Arc::new(client); localVariable
131 let client = std::sync::Arc::clone(&client); localVariable
Dsync_utils.rs121 let client = ylong_http_client::sync_impl::Client::new(); localVariable
122 let client = std::sync::Arc::new(client); localVariable
125 let client = std::sync::Arc::clone(&client); localVariable
/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/
Dclient.rs321 client: ClientConfig, field
1130 let client = ClientBuilder::default() in client_request_redirect() localVariable
1148 let client = Client::builder().http1_only().build().unwrap(); in client_request_version_1_0() localVariable
1195 let client = Client::builder() in client_request_verify() localVariable
1235 let client = Client::with_connector(HttpConnector::default()); in ut_client_with_connector() localVariable
1246 let client = Client::new(); in ut_client_new() localVariable
1257 let client = Client::default(); in ut_client_default() localVariable
1269 let client = Client::builder() in ut_client_build_tls() localVariable
1296 let client = Client::builder() in ut_client_build_tls_pubkey_pinning() localVariable
1380 let client = Client::builder() in ut_client_request_http1_0_retry() localVariable
[all …]
/commonlibrary/rust/ylong_runtime/ylong_runtime/tests/
Dasync_buf_read.rs48 let client = ylong_runtime::spawn(async move { in sdv_buf_reader_read_until() localVariable
90 let client = ylong_runtime::spawn(async move { in sdv_buf_reader_read_line() localVariable
129 let client = ylong_runtime::spawn(async move { in sdv_buf_reader_split() localVariable
177 let client = ylong_runtime::spawn(async move { in sdv_buf_reader_lines() localVariable
271 let client = ylong_runtime::spawn(async move { in sdv_buf_reader_read() localVariable
Dtcp_test.rs199 let mut client = TcpStream::connect(addr).await; in sdv_tcp_global_runtime() localVariable
203 let mut client = client.unwrap(); in sdv_tcp_global_runtime() localVariable
257 let client = runtime.spawn(async move { in sdv_tcp_multi_runtime() localVariable
432 let client = ylong_runtime::block_on(async move { in sdv_tcp_drop_out_context() localVariable
484 let client = ylong_runtime::spawn(async { in sdv_tcp_cancel() localVariable
528 let client = ylong_runtime::spawn(async move { in sdv_tcp_cancel() localVariable
572 let client = ylong_runtime::spawn(async move { in sdv_tcp_unexpected_eof() localVariable
Dasync_buf_write.rs41 let client = ylong_runtime::spawn(async move { in sdv_buf_writer_write() localVariable
80 let client = ylong_runtime::spawn(async move { in sdv_buf_writer_write_vectored() localVariable
176 let client = ylong_runtime::spawn(async move { in sdv_buf_writer_write_vectored_2() localVariable
/commonlibrary/rust/ylong_runtime/ylong_io/tests/
Dtcp_test.rs72 let mut client = loop { in sdv_tcp_server() localVariable
146 let mut client = loop { in sdv_tcp_server_vectored() localVariable
/commonlibrary/rust/ylong_http/ylong_http_client/examples/
Dasync_proxy_http.rs24 let client = ClientBuilder::new() in main() localVariable
Dsync_proxy_http.rs22 let client = ClientBuilder::new() in main() localVariable
Dsync_redirect_http.rs23 let client = ClientBuilder::new().redirect(Redirect::default()).build()?; in main() localVariable
Dasync_redirect_http.rs24 let client = ClientBuilder::new().redirect(Redirect::default()).build()?; in main() localVariable
Dsync_http.rs23 let client = Client::new(); in main() localVariable
Dasync_http_multi.rs25 let client = Client::new(); in main() localVariable
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/config/
Dmod.rs14 mod client; module

12