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.
1 parent c1366d0 commit 61622dbCopy full SHA for 61622db
src/cli/runtime/http.rs
@@ -85,6 +85,8 @@ impl Default for NativeHttp {
85
}
86
87
impl NativeHttp {
88
+ /// Initialize the HTTP client with the given upstream configuration and
89
+ /// telemetry settings.
90
pub fn init(upstream: &Upstream, telemetry: &Telemetry) -> Self {
91
let mut builder = Client::builder()
92
.tcp_keepalive(Some(Duration::from_secs(upstream.tcp_keep_alive)))
0 commit comments