Skip to content

ResponseParts::new to use Axum response extensions in custom tower service #1385

Answered by davidpdrsn
yaroslavros asked this question in Q&A
Discussion options

You must be logged in to vote

You can do

(cookie_jar, response).into_response()

And return that from your Service.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by yaroslavros
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1384 on September 18, 2022 06:11.