Skip to content

Commit

Permalink
Merge pull request #1965 from fibonacci1729/add-into-inner
Browse files Browse the repository at this point in the history
Add into_inner for chaining
  • Loading branch information
fibonacci1729 authored Oct 26, 2023
2 parents f80322e + db0f5b3 commit 216752d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sdk/rust/src/http.rs
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,11 @@ impl ResponseOutparam {
self.set(response);
body.send(buffer).await
}

/// Return the inner, `wit-bindgen`-generated instance
pub fn into_inner(self) -> types::ResponseOutparam {
self.0
}
}

/// Send an outgoing request
Expand Down

0 comments on commit 216752d

Please sign in to comment.