| /commonlibrary/rust/ylong_http/ylong_http_client/tests/common/ |
| D | sync_utils.rs | 221 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
|
| D | async_utils.rs | 223 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/ |
| D | sdv_async_https_pinning.rs | 82 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
|
| D | sdv_async_http_client_error.rs | 63 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
|
| D | sdv_async_time_group.rs | 58 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
|
| D | sdv_async_http10.rs | 57 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
|
| D | sdv_async_interceptor.rs | 80 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
|
| D | sdv_async_certs_adapter.rs | 60 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
|
| D | sdv_async_http2.rs | 169 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
|
| D | sdv_async_dns_resolver.rs | 64 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
|
| D | sdv_async_client_build.rs | 34 let client = Client::builder() in sdv_client_tls_builder() localVariable
|
| /commonlibrary/rust/ylong_http/ylong_http_client/tests/tcp_server/ |
| D | async_utils.rs | 127 …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
|
| D | sync_utils.rs | 121 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/ |
| D | client.rs | 321 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/ |
| D | async_buf_read.rs | 48 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
|
| D | tcp_test.rs | 199 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
|
| D | async_buf_write.rs | 41 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/ |
| D | tcp_test.rs | 72 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/ |
| D | async_proxy_http.rs | 24 let client = ClientBuilder::new() in main() localVariable
|
| D | sync_proxy_http.rs | 22 let client = ClientBuilder::new() in main() localVariable
|
| D | sync_redirect_http.rs | 23 let client = ClientBuilder::new().redirect(Redirect::default()).build()?; in main() localVariable
|
| D | async_redirect_http.rs | 24 let client = ClientBuilder::new().redirect(Redirect::default()).build()?; in main() localVariable
|
| D | sync_http.rs | 23 let client = Client::new(); in main() localVariable
|
| D | async_http_multi.rs | 25 let client = Client::new(); in main() localVariable
|
| /commonlibrary/rust/ylong_http/ylong_http_client/src/util/config/ |
| D | mod.rs | 14 mod client; module
|