/ohos5.0/foundation/communication/netstack/interfaces/innerkits/rust/ylong_http_client/src/reqwest_impl/ |
H A D | error.rs | 20 pub struct HttpClientError { struct 25 impl HttpClientError { impl 87 impl From<reqwest::Error> for HttpClientError { implementation 106 impl Debug for HttpClientError { implementation 115 impl Display for HttpClientError { implementation
|
H A D | config.rs | 324 pub fn build(self) -> Result<Proxy, HttpClientError> { in build() argument 361 pub fn from_pem(pem: &[u8]) -> Result<Certificate, HttpClientError> { in from_pem() argument
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/interceptor/ |
H A D | mod.rs | 91 fn intercept_connection(&self, _info: ConnDetail) -> Result<(), HttpClientError> { in intercept_connection() argument 96 fn intercept_input(&self, _bytes: &[u8]) -> Result<(), HttpClientError> { in intercept_input() argument 101 fn intercept_output(&self, _bytes: &[u8]) -> Result<(), HttpClientError> { in intercept_output() argument 106 fn intercept_request(&self, _request: &Request) -> Result<(), HttpClientError> { in intercept_request() argument 111 fn intercept_response(&self, _response: &Response) -> Result<(), HttpClientError> { in intercept_response() argument 116 fn intercept_retry(&self, _error: &HttpClientError) -> Result<(), HttpClientError> { in intercept_retry() argument 121 fn intercept_redirect_request(&self, _request: &Request) -> Result<(), HttpClientError> { in intercept_redirect_request() argument 129 ) -> Result<(), HttpClientError> { in intercept_redirect_response() argument
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/ |
H A D | error.rs | 31 pub struct HttpClientError { struct 36 impl HttpClientError { implementation 136 impl HttpClientError { implementation 180 impl Debug for HttpClientError { implementation 189 impl Display for HttpClientError { implementation 197 impl error::Error for HttpClientError { implementation
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/util/config/tls/verifier/ |
H A D | openssl.rs | 42 pub fn version(&self) -> Result<usize, HttpClientError> { in version() argument 62 pub fn cert_name(&self) -> Result<String, HttpClientError> { in cert_name() argument 89 pub fn issuer(&self) -> Result<String, HttpClientError> { in issuer() argument 120 pub fn cmp_pem_cert(&self, target_pem: &[u8]) -> Result<usize, HttpClientError> { in cmp_pem_cert() argument
|
/ohos5.0/foundation/communication/netstack/interfaces/innerkits/rust/ylong_http_client/src/reqwest_impl/async_impl/downloader/ |
H A D | mod.rs | 168 pub async fn download(&mut self) -> Result<(), HttpClientError> { in download() argument 178 async fn limited_download(&mut self) -> Result<(), HttpClientError> { in limited_download() argument 207 fn check_timeout(&mut self) -> Result<(), HttpClientError> { in check_timeout() argument 217 async fn show_progress(&mut self) -> Result<(), HttpClientError> { in show_progress() argument
|
H A D | operator.rs | 67 ) -> Poll<Result<usize, HttpClientError>>; in poll_download() argument 77 ) -> Poll<Result<(), HttpClientError>> { in poll_progress() argument 113 ) -> Poll<Result<usize, HttpClientError>> { in poll_download() argument 122 ) -> Poll<Result<(), HttpClientError>> { in poll_progress() argument 172 ) -> Poll<Result<usize, HttpClientError>> { in poll_download() argument 182 ) -> Poll<Result<(), HttpClientError>> { in poll_progress() argument
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/downloader/ |
H A D | operator.rs | 31 ) -> Poll<Result<usize, HttpClientError>>; in poll_download() argument 42 ) -> Poll<Result<(), HttpClientError>> { in poll_progress() argument 84 ) -> Poll<Result<usize, HttpClientError>> { in poll_download() argument 93 ) -> Poll<Result<(), HttpClientError>> { in poll_progress() argument 141 ) -> Poll<Result<usize, HttpClientError>> { in poll_download() argument 154 ) -> Poll<Result<(), HttpClientError>> { in poll_progress() argument
|
H A D | mod.rs | 164 pub async fn download(&mut self) -> Result<(), HttpClientError> { in download() argument 180 async fn limited_download(&mut self) -> Result<(), HttpClientError> { in limited_download() argument 206 fn check_timeout(&mut self) -> Result<(), HttpClientError> { in check_timeout() argument 216 async fn show_progress(&mut self) -> Result<(), HttpClientError> { in show_progress() argument
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/ |
H A D | response.rs | 34 pub async fn data(&mut self, buf: &mut [u8]) -> Result<usize, HttpClientError> { in data() argument 39 pub async fn text(mut self) -> Result<String, HttpClientError> { in text() argument
|
H A D | http_body.rs | 78 ) -> Result<Self, HttpClientError> { in new() argument 207 ) -> Poll<Result<usize, HttpClientError>> { in data() argument 236 ) -> Poll<Result<usize, HttpClientError>> { in poll_read_io() argument 297 ) -> Poll<Result<usize, HttpClientError>> { in data() argument 329 ) -> Option<Poll<Result<usize, HttpClientError>>> { in read_remaining() argument 355 ) -> Poll<Result<usize, HttpClientError>> { in poll_read_io() argument 424 ) -> Poll<Result<usize, HttpClientError>> { in data() argument 489 fn merge_chunks(&mut self, buf: &mut [u8]) -> Result<(usize, bool), HttpClientError> { in merge_chunks() argument
|
H A D | client.rs | 160 pub async fn request(&self, request: Request) -> Result<Response, HttpClientError> { in request() argument 178 async fn send_request(&self, request: RequestArc) -> Result<Response, HttpClientError> { in send_request() argument 186 ) -> Result<Response, HttpClientError> { in send_unformatted_request() argument 192 async fn connect_to(&self, uri: &Uri) -> Result<Conn<C::Stream>, HttpClientError> { in connect_to() argument 208 ) -> Result<Response, HttpClientError> { in send_request_on_conn() argument 224 ) -> Result<Response, HttpClientError> { in redirect() argument 486 pub fn build(self) -> Result<Client<HttpConnector>, HttpClientError> { in build() argument
|
/ohos5.0/foundation/communication/netstack/interfaces/innerkits/rust/ylong_http_client/src/reqwest_impl/async_impl/uploader/ |
H A D | operator.rs | 60 ) -> Poll<Result<(), HttpClientError>> { in poll_progress() argument 86 ) -> Poll<Result<(), HttpClientError>> { in poll_progress() argument 119 ) -> Poll<Result<(), HttpClientError>> { in poll_progress() argument
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/uploader/ |
H A D | operator.rs | 58 ) -> Poll<Result<(), HttpClientError>> { in poll_progress() argument 84 ) -> Poll<Result<(), HttpClientError>> { in poll_progress() argument 117 ) -> Poll<Result<(), HttpClientError>> { in poll_progress() argument
|
H A D | mod.rs | 277 ) -> Poll<Result<(), HttpClientError>> { in upload_op_cov() argument 310 ) -> Poll<Result<(), HttpClientError>> { in upload_and_show_progress() argument
|
/ohos5.0/foundation/bundlemanager/app_domain_verify/test/unittest/mock/include/mock_http_client/ |
H A D | http_client_error.h | 23 HttpClientError() : errorCode_(0) in HttpClientError() function
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/sync_impl/ |
H A D | client.rs | 109 ) -> Result<Response<HttpBody>, HttpClientError> { in request() argument 117 ) -> Result<Response<HttpBody>, HttpClientError> { in retry_send_request() argument 131 ) -> Result<Response<HttpBody>, HttpClientError> { in send_request_retryable() argument 140 ) -> Result<Response<HttpBody>, HttpClientError> { in redirect_request() argument 163 ) -> Result<Response<HttpBody>, HttpClientError> { in send_request_with_uri() argument 311 pub fn build(self) -> Result<Client<HttpConnector>, HttpClientError> { in build() argument
|
H A D | http_body.rs | 121 fn data(&mut self, buf: &mut [u8]) -> Result<usize, HttpClientError> { in data() argument 206 fn data(&mut self, buf: &mut [u8]) -> Result<usize, HttpClientError> { in data() argument 263 fn merge_chunks(&mut self, buf: &mut [u8]) -> Result<(usize, bool), HttpClientError> { in merge_chunks() argument
|
/ohos5.0/base/request/request/services/src/task/ |
H A D | operator.rs | 58 ) -> Poll<Result<(), HttpClientError>> { in poll_progress_common() argument 136 ) -> Poll<Result<usize, HttpClientError>> { in poll_write_file() argument
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/util/ |
H A D | normalizer.rs | 32 pub(crate) fn format(&mut self) -> Result<(), HttpClientError> { in format() argument 65 pub(crate) fn format(&self, uri: &mut Uri) -> Result<(), HttpClientError> { in format() argument 125 pub(crate) fn parse(&self) -> Result<BodyLength, HttpClientError> { in parse() argument 188 pub(crate) fn format_host_value(uri: &Uri) -> Result<String, HttpClientError> { in format_host_value() argument
|
H A D | redirect.rs | 45 ) -> Result<Trigger, HttpClientError> { in redirect() argument 124 fn trigger(&self, info: &RedirectInfo) -> Result<Trigger, HttpClientError> { in trigger() argument
|
H A D | proxy.rs | 64 pub(crate) fn http(uri: &str) -> Result<Self, HttpClientError> { in http() argument 68 pub(crate) fn https(uri: &str) -> Result<Self, HttpClientError> { in https() argument 72 pub(crate) fn all(uri: &str) -> Result<Self, HttpClientError> { in all() argument 155 pub(crate) fn new(uri: &str) -> Result<Self, HttpClientError> { in new() argument
|
/ohos5.0/foundation/communication/netstack/interfaces/innerkits/rust/ylong_http_client/src/reqwest_impl/async_impl/ |
H A D | mod.rs | 105 ) -> Result<Response, HttpClientError> { in request() argument 365 pub fn build(self) -> Result<Client, HttpClientError> { in build() argument
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/ |
H A D | adapter.rs | 395 pub fn build(mut self) -> Result<TlsConfig, HttpClientError> { in build() argument 596 pub fn from_pem(pem: &[u8]) -> Result<Self, HttpClientError> { in from_pem() argument 613 pub fn from_der(der: &[u8]) -> Result<Self, HttpClientError> { in from_der() argument 620 pub fn stack_from_pem(pem: &[u8]) -> Result<Vec<Self>, HttpClientError> { in stack_from_pem() argument 656 pub fn from_pem(pem: &[u8]) -> Result<Self, HttpClientError> { in from_pem() argument 669 pub fn from_path(path: &str) -> Result<Self, HttpClientError> { in from_path() argument
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/examples/ |
H A D | async_certs_adapter.rs | 62 async fn request(client: Arc<Client>) -> Result<(), HttpClientError> { in request() argument
|