Skip to content

Return app response directly to lambda-http runtime#146

Merged
bnusunny merged 2 commits intomainfrom
hyper_body_in_response
Jan 28, 2023
Merged

Return app response directly to lambda-http runtime#146
bnusunny merged 2 commits intomainfrom
hyper_body_in_response

Conversation

@bnusunny
Copy link
Copy Markdown
Contributor

@bnusunny bnusunny commented Jan 28, 2023

lambda-http runtime supports Response<hyper::Body>. By returning app response directly, we simplified the logic in the Adapter.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

lambda-http runtime supports Response<hyper::Body>. By returning app response directly, we simplified the logic in the Adapter.
Copy link
Copy Markdown
Contributor

@calavera calavera left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

less copy, yay!

@bnusunny bnusunny merged commit f5c9909 into main Jan 28, 2023
@bnusunny bnusunny deleted the hyper_body_in_response branch January 28, 2023 23:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants