Skip to content

ctx.body vs ctx.response.body #1871

Answered by fedyk
carlosmintfan asked this question in Q&A
Discussion options

You must be logged in to vote

ctx.body is a shortcut for getting or setting ctx.response.body. You can use the one that’s more convenient for you.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jonathanong
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