make HeaderName and HeaderValue publicly accessible (#436)
Some checks failed
/ Build - Windows x86 (push) Has been cancelled
/ Build - Windows x86_64 (push) Has been cancelled
/ Build - Linux x86 (push) Has been cancelled
/ Build - Android aarch64 (push) Has been cancelled
/ Build - Linux aarch64 (push) Has been cancelled
/ Build - Linux x86_64 (push) Has been cancelled
/ Build - MacOS aarch64 (push) Has been cancelled
/ Build - MacOS x86_64 (push) Has been cancelled
/ Build - Freebsd x86_64 (push) Has been cancelled
/ Build - Android armv7 (push) Has been cancelled
/ Build - Freebsd x86 (push) Has been cancelled
/ Build - Linux armv7hf (push) Has been cancelled
/ Release (push) Has been cancelled

It's possible that users have a different version of hyper included, so export
HeaderName and HeaderValue to allow them to populate client::Config.

It's also possible that they don't have it imported, so this would be convenient
for them.
This commit is contained in:
Bryan Larsen
2025-05-30 10:37:03 -04:00
committed by GitHub
parent 3f2ad452b1
commit 1e7ab21d23

View File

@@ -1,5 +1,5 @@
use crate::tunnel::LocalProtocol;
use hyper::http::{HeaderName, HeaderValue};
pub use hyper::http::{HeaderName, HeaderValue};
use std::net::SocketAddr;
use std::path::PathBuf;
use std::time::Duration;