Home
last modified time | relevance | path

Searched refs:url (Results 1 - 17 of 17) sorted by relevance

/commonlibrary/ets_utils/js_api_module/url/test/
H A Dtest_napi.cpp193 OHOS::Url::URL url("https://example.org:81/a/b/c?query#fragment"); in HWTEST_F()
196 DealNapiStrValue(env, url.GetPath(env), output); in HWTEST_F()
202 OHOS::Url::URL url("http://username:password@host:8080/directory/file?query#fragment"); in HWTEST_F()
205 DealNapiStrValue(env, url.GetPath(env), output); in HWTEST_F()
211 OHOS::Url::URL url("../baz", "http://example.org/foo/bar"); in HWTEST_F()
214 DealNapiStrValue(env, url.GetPath(env), output); in HWTEST_F()
220 OHOS::Url::URL url("/../sca/./path/path/../scasa/jjjjj", "http://www.example.com"); in HWTEST_F()
223 DealNapiStrValue(env, url.GetPath(env), output); in HWTEST_F()
229 OHOS::Url::URL url("http://username:password@host:8080/directory/file?query#fragment"); in HWTEST_F()
232 DealNapiStrValue(env, url in HWTEST_F()
[all...]
/commonlibrary/rust/ylong_http/ylong_http/src/request/uri/
H A Dpercent_encoding.rs14 //! HTTP url [`PercentEncoder`].
19 //! [`PercentEncoder`]: https://url.spec.whatwg.org/#fragment-percent-encode
34 /// HTTP url percent encoding implementation.
41 /// let url = "https://www.example.com/data/测试文件.txt";
42 /// let encoded = PercentEncoder::parse(url).unwrap();
67 Ok(encoder.normalized.url()) in parse()
241 url: String,
247 url: String::with_capacity(size),
252 self.url.push(ch);
270 self.url
[all...]
/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/
H A Drequest.rs97 /// .url("http://www.example.com")
145 /// let builder = RequestBuilder::new().url("www.example.com");
147 pub fn url(self, url: &str) -> Self { in url() functions
148 Self(self.0.url(url)) in url()
378 /// HTTP url percent encoding implementation.
385 /// let url = "https://www.example.com/data/测试文件.txt";
386 /// let encoded = PercentEncoder::encode(url).unwrap();
396 pub fn encode(url
[all...]
/commonlibrary/rust/ylong_http/ylong_http/src/request/
H A Dmod.rs34 //! .url("www.example.com")
112 RequestBuilder::new().method(Method::GET).url(uri) in get()
130 RequestBuilder::new().method(Method::HEAD).url(uri) in head()
148 RequestBuilder::new().method(Method::POST).url(uri) in post()
165 RequestBuilder::new().method(Method::PUT).url(uri) in put()
183 RequestBuilder::new().method(Method::DELETE).url(uri) in delete()
201 RequestBuilder::new().method(Method::CONNECT).url(uri) in connect()
219 RequestBuilder::new().method(Method::OPTIONS).url(uri) in options()
237 RequestBuilder::new().method(Method::TRACE).url(uri) in trace()
473 /// .url("ww
544 pub fn url<T>(mut self, uri: T) -> Self url() functions
[all...]
/commonlibrary/rust/ylong_http/ylong_http/tests/
H A Dsdv_http_error.rs23 /// 1. Creates a HttpError by build invalid url.
30 .url("htttp:///path") in sdv_client_send_request_repeatedly()
/commonlibrary/rust/ylong_http/ylong_http_client/examples/
H A Dasync_http_multi.rs27 .url("127.0.0.1:3000") in main()
H A Dasync_http.rs36 .url("https://www.example.com")
H A Dasync_certs_adapter.rs64 .url("https://www.example.com")
H A Dasync_https_outside.rs53 .url("https://www.example.com")
/commonlibrary/rust/ylong_http/ylong_http_client/tests/
H A Dsdv_async_http2.rs177 .url(format!("{}:{}", "127.0.0.1", handle.port).as_str()) in sdv_async_h2_client_send_request()
257 .url(format!("{}:{}", "127.0.0.1", handle.port).as_str()) in sdv_async_h2_client_send_request_concurrently()
H A Dsdv_async_https_pinning.rs274 .url(format!("{}:{}", "127.0.0.1", handle.port).as_str()) in sdv_client_public_key_pinning_error()
/commonlibrary/rust/ylong_http/ylong_http_client/tests/tcp_server/
H A Dmod.rs269 .url(format!("http://{}{}",$addr, $path).as_str())
295 .url(format!("http://{}{}",$addr, $path).as_str())
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/
H A Dtest_utils.rs48 .url(format!("http://{}{}",$addr, $path).as_str())
/commonlibrary/rust/ylong_http/ylong_http_client/tests/common/
H A Dmod.rs234 .url(format!("{}:{}", $host, $port).as_str())
258 .url(format!("{}:{}", $host, $port).as_str())
H A Dasync_utils.rs339 .url(format!("{}:{}", $host, $handle.port).as_str())
/commonlibrary/rust/ylong_json/tests/
H A Dsdv_adapt_serde_test.rs43 url: String,
75 url: String::from("http://www.example.com/image/481989943"), in sdv_adapt_serde_example_one()
/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/conn/
H A Dhttp2.rs404 .url($uri)

Completed in 9 milliseconds