| /external/curl/docs/ |
| D | HYPER.md | 7 # Hyper 9 Hyper is a separate HTTP library written in Rust. curl can be told to use this 14 Hyper support in curl is considered **EXPERIMENTAL** until further notice. It 17 Further development and tweaking of the Hyper backend support in curl happens 20 ## Hyper version 22 The C API for Hyper is brand new and is still under development. 24 ## build curl with hyper 26 Using Rust 1.64.0 or later, build hyper and enable its C API like this: 28 % git clone https://github.com/hyperium/hyper 29 % cd hyper [all …]
|
| /external/rust/crates/hyper-timeout/ |
| D | README.md | 1 [](https://crates.io/crates/hyper-ti… 3 # hyper-timeout 5 A connect, read and write timeout aware connector to be used with hyper `Client`. 9 At the time this crate was created, hyper does not support timeouts. There is a way to do general t… 13 There is a `TimeoutConnector` that implements the `hyper::Connect` trait. This connector wraps arou… 15 **Note:** In hyper 0.11, a read or write timeout will return a _broken pipe_ error because of the w… 19 Hyper version compatibility: 21 * The `master` branch will track on going development for hyper. 22 * The `0.4` release supports hyper 0.14. 23 * The `0.3` release supports hyper 0.13. [all …]
|
| D | Cargo.toml.orig | 2 name = "hyper-timeout" 6 description = "A connect, read and write timeout aware connector to be used with hyper Client." 8 documentation = "https://github.com/hjr3/hyper-timeout" 9 homepage = "https://github.com/hjr3/hyper-timeout" 10 repository = "https://github.com/hjr3/hyper-timeout" 14 hyper = { version = "0.14.2", features = ["client"] } 20 hyper = { version = "0.14", features = ["client", "http1", "tcp"] } 21 hyper-tls = "0.5"
|
| D | Cargo.toml | 15 name = "hyper-timeout" 18 description = "A connect, read and write timeout aware connector to be used with hyper Client." 19 homepage = "https://github.com/hjr3/hyper-timeout" 20 documentation = "https://github.com/hjr3/hyper-timeout" 23 repository = "https://github.com/hjr3/hyper-timeout" 24 [dependencies.hyper] 36 [dev-dependencies.hyper] 40 [dev-dependencies.hyper-tls]
|
| D | METADATA | 1 name: "hyper-timeout" 2 description: "A connect, read and write timeout aware connector to be used with hyper Client." 6 value: "hyper-timeout" 10 value: "https://static.crates.io/crates/hyper-timeout/hyper-timeout-0.4.1.crate"
|
| /external/rust/crates/hyper/ |
| D | README.md | 1 # [hyper](https://hyper.rs) 3 [](https://crates.io/crates/hyper) 4 [](https://docs.rs/hyper) 6 [](https://github.com/hyperium/hyper… 18 **Get started** by looking over the [guides](https://hyper.rs/guides). 22 hyper is a relatively low-level library, meant to be a building block for 38 hyper is provided under the MIT license. See [LICENSE](LICENSE).
|
| D | METADATA | 1 name: "hyper" 6 value: "hyper" 10 value: "https://static.crates.io/crates/hyper/hyper-0.14.28.crate"
|
| /external/rust/crates/hyper/src/body/ |
| D | to_bytes.rs | 21 /// # async fn doc() -> hyper::Result<()> { 22 /// use hyper::{body::HttpBody}; 24 /// # let request = hyper::Request::builder() 25 /// # .method(hyper::Method::POST) 28 /// # .body(hyper::Body::from(r#"{"library":"hyper"}"#)).unwrap(); 29 /// # let client = hyper::Client::new(); 40 /// let body_bytes = hyper::body::to_bytes(response.into_body()).await?; 50 …note = "This function has been replaced by a method on the `hyper::body::HttpBody` trait. Use `.co…
|
| /external/rust/crates/matchit/examples/ |
| D | hyper.rs | 5 use hyper::server::Server; 6 use hyper::service::{make_service_fn, service_fn}; 7 use hyper::{Body, Method, Request, Response}; 12 async fn index(_req: Request<Body>) -> hyper::Result<Response<Body>> { in index() 17 async fn blog(_req: Request<Body>) -> hyper::Result<Response<Body>> { in blog() 22 async fn not_found(_req: Request<Body>) -> hyper::Result<Response<Body>> { in not_found() 30 type Service = Mutex<BoxCloneService<Request<Body>, Response<Body>, hyper::Error>>; 36 async fn route(router: Arc<Router>, req: Request<Body>) -> hyper::Result<Response<Body>> { in route() 75 // boilerplate for the hyper service in main()
|
| /external/ot-br-posix/third_party/Simple-web-server/repo/docs/ |
| D | benchmarks.md | 74 ## Hyper section in Benchmarks 76 [Hyper](https://hyper.rs/) is a Rust HTTP library that topped the 81 * hyper: 0.12 84 https://github.com/hyperium/hyper/blob/0.12.x/examples/hello.rs, but removed `pretty_env_logger` 88 extern crate hyper; 91 use hyper::{Body, Request, Response, Server}; 92 use hyper::service::service_fn_ok; 93 use hyper::rt::{self, Future}; 152 the Hyper Rust HTTP library, although Hyper seems to be slightly faster more
|
| /external/libxkbcommon/test/data/compat/ |
| D | misc | 3 virtual_modifiers Alt,Meta,Super,Hyper,ScrollLock; 79 // Sets the "Hyper" virtual modifier. 83 virtualModifier= Hyper; 88 action = SetMods(modifiers=Hyper); 93 virtualModifier= Hyper; 98 action = SetMods(modifiers=Hyper);
|
| /external/curl/tests/data/ |
| D | DISABLED | 60 # Tests that are disabled here for Hyper are SUPPOSED to work but 62 # fixed for hyper should be adjusted for it in the test file. 64 # hyper support remains EXPERIMENTAL as long as there's a test number 67 # Several tests fail due to hyper's lack of trailers support: 266, 1417, 1540, 68 # 1591, 1943. See https://github.com/hyperium/hyper/issues/2699 for details. 69 %if hyper 84 # response body seem not to be handled by hyper
|
| D | test645 | 79 %if hyper 99 %if hyper 122 %if hyper 152 %if hyper 172 %if hyper 195 %if hyper
|
| /external/rust/crates/hyper/src/ |
| D | lib.rs | 9 //! # hyper 11 //! hyper is a **fast** and **correct** HTTP implementation written in and for Rust. 22 //! If just starting out, **check out the [Guides](https://hyper.rs/guides) 27 //! hyper is a lower-level HTTP library, meant to be a building block 35 //! hyper uses a set of [feature flags] to reduce the amount of compiled code. 37 //! hyper does not enable any features but allows one to enable a subset for 42 //! If you are new to hyper it is possible to enable the `full` feature flag
|
| /external/rust/crates/hyper-timeout/examples/ |
| D | client.rs | 4 use hyper::{body::HttpBody as _, Client}; 22 let url = url.parse::<hyper::Uri>().unwrap(); in main() 24 // This example uses `HttpsConnector`, but you can also use hyper `HttpConnector` in main() 25 //let h = hyper::client::HttpConnector::new(); in main() 31 let client = Client::builder().build::<_, hyper::Body>(connector); in main()
|
| /external/rust/crates/axum/ |
| D | Cargo.toml.orig | 17 http1 = ["hyper/http1"] 18 http2 = ["hyper/http2"] 25 tokio = ["dep:tokio", "hyper/server", "hyper/tcp", "hyper/runtime", "tower/make"] 41 hyper = { version = "0.14.24", features = ["stream"] } 193 "hyper",
|
| D | Cargo.toml | 46 "hyper", 108 [dependencies.hyper] 343 http1 = ["hyper/http1"] 344 http2 = ["hyper/http2"] 356 "hyper/server", 357 "hyper/tcp", 358 "hyper/runtime",
|
| D | README.md | 24 applications written using [`hyper`] or [`tonic`]. 50 // run our app with hyper 51 // `axum::Server` is a re-export of `hyper::Server` 102 `axum` is a relatively thin layer on top of [`hyper`] and adds very little 103 overhead. So `axum`'s performance is comparable to [`hyper`]. You can find 151 [`hyper`]: https://crates.io/crates/hyper
|
| /external/rust/crates/hyper/src/client/ |
| D | client.rs | 70 /// TLS](https://hyper.rs/guides/client/configuration). 94 /// use hyper::Client; 100 /// # let infer: Client<_, hyper::Body> = client; 131 /// use hyper::{Client, Uri}; 160 /// use hyper::{Body, Method, Client, Request}; 827 // `https://hyper.rs` would parse with `/` path, don't in authority_form() 912 /// use hyper::Client; 918 /// # let infer: Client<_, hyper::Body> = client; 1106 /// This option will prevent Hyper's client from returning an error encountered 1135 /// Setting this to true will force hyper to use queued strategy [all …]
|
| /external/rust/crates/tokio-util/src/io/ |
| D | mod.rs | 3 //! The stream types are often used in combination with hyper or reqwest, as they 4 //! allow converting between a hyper [`Body`] and [`AsyncRead`]. 10 //! [`Body`]: https://docs.rs/hyper/0.13/hyper/struct.Body.html
|
| /external/rust/crates/hyper/src/server/ |
| D | mod.rs | 24 //! use hyper::{Body, Request, Response, Server}; 25 //! use hyper::service::{make_service_fn, service_fn}; 60 //! # use hyper::{Body, Request, Response, Server}; 61 //! # use hyper::service::{make_service_fn, service_fn}; 92 //! use hyper::{Body, Request, Response, Server}; 93 //! use hyper::service::{make_service_fn, service_fn}; 95 //! use hyper::server::conn::AddrStream; 132 //! // Return the service to hyper.
|
| /external/pigweed/pw_snapshot/py/ |
| D | metadata_test.py | 46 snapshot.metadata.device_name = b'hyper-fast-gshoe' 71 self.assertEqual(meta.device_name(), 'hyper-fast-gshoe') 100 'Device: hyper-fast-gshoe', 123 'Device: hyper-fast-gshoe', 159 'Device: hyper-fast-gshoe', 175 'Device: hyper-fast-gshoe',
|
| /external/rust/crates/hyper/src/ffi/ |
| D | mod.rs | 8 //! # hyper C API 10 //! This part of the documentation describes the C API for hyper. That is, how 11 //! to *use* the hyper library in C code. This is **not** a regular Rust 16 //! The C API of hyper is currently **unstable**, which means it's not part of 90 /// Returns a static ASCII (null terminated) string of the hyper version.
|
| /external/curl/lib/ |
| D | c-hyper.c | 25 /* Curl's integration with Hyper. This replaces certain functions in http.c, 54 #include <hyper.h> 258 * Hyper does not consider the status line, the first line in an HTTP/1 317 * Hyper does not pass on the last empty response header. The libcurl API 328 /* Hyper does chunked decoding itself. If it was added during in empty_header() 382 /* override Hyper's view, might not even be an error */ in Curl_hyper_stream() 390 failf(data, "Hyper: [%d] %.*s", (int)code, (int)errlen, errbuf); in Curl_hyper_stream() 424 /* hyper doesn't always call the body write callback */ in Curl_hyper_stream() 430 /* A background task for hyper; ignore */ in Curl_hyper_stream() 547 * be in the output), add to Hyper and send to the debug callback. [all …]
|
| /external/rust/crates/hyper-timeout/src/ |
| D | lib.rs | 11 use hyper::client::connect::{Connected, Connection}; 12 use hyper::{service::Service, Uri}; 143 use hyper::client::HttpConnector; 144 use hyper::Client; 157 let client = Client::builder().build::<_, hyper::Body>(connector); in test_timeout_connector() 182 let client = Client::builder().build::<_, hyper::Body>(connector); in test_read_timeout()
|