We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
header_read_timeout
http1::Builder
1 parent a4667b6 commit 276cb0cCopy full SHA for 276cb0c
src/server/conn/http1.rs
@@ -57,7 +57,7 @@ pin_project_lite::pin_project! {
57
/// # fn main() {
58
/// let mut http = Builder::new();
59
/// // Set options one at a time
60
-/// http.header_read_timeout(Duration::from_millis(200));
+/// http.half_close(false);
61
///
62
/// // Or, chain multiple options
63
/// http.keep_alive(false).title_case_headers(true).max_buf_size(8192);
0 commit comments