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.
2 parents 3594a2a + 8fb8066 commit 565c250Copy full SHA for 565c250
src/upgrade/sender.rs
@@ -17,10 +17,10 @@ impl Sender {
17
Self { sender }
18
}
19
20
- /// Send a `Trailer`.
+ /// Send a `Connection`.
21
///
22
- /// The channel will be consumed after having sent trailers.
23
- pub async fn send(self, trailers: Connection) {
24
- let _ = self.sender.send(trailers).await;
+ /// The channel will be consumed after having sent the connection.
+ pub async fn send(self, conn: Connection) {
+ let _ = self.sender.send(conn).await;
25
26
0 commit comments