Skip to content

Commit

Permalink
fix(client): re-add Conn::without_header
Browse files Browse the repository at this point in the history
  • Loading branch information
jbr committed Apr 7, 2024
1 parent eef9752 commit d90a9ee
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions client/src/conn.rs
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,12 @@ impl Conn {
self
}

/// see [`without_request_header`]
#[deprecated = "use Conn::without_request_header"]
pub fn without_header(self, name: impl Into<HeaderName<'static>>) -> Self {
self.without_request_header(name)
}

/**
```
let handler = |conn: trillium::Conn| async move {
Expand Down

0 comments on commit d90a9ee

Please sign in to comment.