Skip to content

Commit d90a9ee

Browse files
committed
fix(client): re-add Conn::without_header
1 parent eef9752 commit d90a9ee

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

client/src/conn.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,12 @@ impl Conn {
191191
self
192192
}
193193

194+
/// see [`without_request_header`]
195+
#[deprecated = "use Conn::without_request_header"]
196+
pub fn without_header(self, name: impl Into<HeaderName<'static>>) -> Self {
197+
self.without_request_header(name)
198+
}
199+
194200
/**
195201
```
196202
let handler = |conn: trillium::Conn| async move {

0 commit comments

Comments
 (0)