| /commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/interceptor/ |
| 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
|
| /commonlibrary/rust/ylong_http/ylong_http_client/src/ |
| D | error.rs | 31 pub struct HttpClientError { struct 36 impl HttpClientError { impl 136 impl HttpClientError { impl 180 impl Debug for HttpClientError { implementation 189 impl Display for HttpClientError { implementation 197 impl error::Error for HttpClientError { implementation
|
| /commonlibrary/rust/ylong_http/ylong_http_client/src/util/config/tls/verifier/ |
| 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
|
| /commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/downloader/ |
| 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
|
| 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
|
| /commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/uploader/ |
| 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
|
| D | mod.rs | 277 ) -> Poll<Result<(), HttpClientError>> { in upload_op_cov() argument 310 ) -> Poll<Result<(), HttpClientError>> { in upload_and_show_progress() argument
|
| /commonlibrary/rust/ylong_http/ylong_http_client/src/sync_impl/ |
| 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
|
| 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
|
| D | pool.rs | 39 pub(crate) fn connect_to(&self, uri: Uri) -> Result<Conn<C::Stream>, HttpClientError> { in connect_to() argument
|
| D | connector.rs | 151 ) -> Result<TcpStream, HttpClientError> { in tunnel() argument
|
| D | reader.rs | 115 pub fn read_all<B: Body>(&mut self, body: &mut B) -> Result<(), HttpClientError> { in read_all() argument
|
| /commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/ |
| 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
|
| 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
|
| 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
|
| D | request.rs | 204 pub fn body(self, body: Body) -> Result<Request, HttpClientError> { in body() argument 396 pub fn encode(url: &str) -> Result<String, HttpClientError> { in encode() argument
|
| /commonlibrary/rust/ylong_http/ylong_http_client/src/util/ |
| 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
|
| D | redirect.rs | 45 ) -> Result<Trigger, HttpClientError> { in redirect() argument 124 fn trigger(&self, info: &RedirectInfo) -> Result<Trigger, HttpClientError> { in trigger() argument
|
| 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
|
| D | dispatcher.rs | 416 ) -> Result<(), HttpClientError> { in send_frame_to_controller() argument 549 pub(crate) async fn recv(&mut self) -> Result<Frame, HttpClientError> { in recv() argument 581 ) -> Poll<Result<Frame, HttpClientError>> { in poll_recv() argument 647 pub(crate) fn dispatch_client_error(dispatch_error: DispatchErrorKind) -> HttpClientError { in dispatch_client_error()
|
| /commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/ |
| 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
|
| /commonlibrary/rust/ylong_http/ylong_http_client/examples/ |
| D | async_certs_adapter.rs | 62 async fn request(client: Arc<Client>) -> Result<(), HttpClientError> { in request() argument
|
| /commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/connector/ |
| D | mod.rs | 84 async fn tcp_stream(eyeballs: HappyEyeballs) -> Result<TcpStream, HttpClientError> { in tcp_stream() argument 111 ) -> Result<TcpStream, HttpClientError> { in eyeballs_connect() argument 289 ) -> Result<HttpStream<MixStream<TcpStream>>, HttpClientError> { in https_connect() argument
|
| /commonlibrary/rust/ylong_http/ylong_http_client/src/util/config/ |
| D | settings.rs | 117 pub fn new(times: usize) -> Result<Self, HttpClientError> { in new() argument 460 pub fn build(self) -> Result<Proxy, HttpClientError> { in build() argument
|
| /commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/verify/ |
| D | pinning.rs | 130 pub fn build(self) -> Result<PubKeyPins, HttpClientError> { in build() argument
|