File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4785,12 +4785,12 @@ Returns a [`response`](#response-object) which you can pass into the [reply inte
4785
4785
- ` response ` - the response object being prepared.
4786
4786
- must return the prepared response object (new object or ` response ` ).
4787
4787
- may throw an error which is used as the prepared response.
4788
- - ` marshal ` - a function with the signature ` async function(response) ` used to repare the
4788
+ - ` marshal ` - a function with the signature ` async function(response) ` used to prepare the
4789
4789
response for transmission to the client before it is sent, where:
4790
4790
- ` response ` - the response object being marshaled.
4791
4791
- must return the prepared value (not as response object) which can be any value accepted
4792
4792
by the [ ` h.response() ` ] ( #h.response() ) ` value ` argument.
4793
- - may throw an error which is used as the marhsaled value.
4793
+ - may throw an error which is used as the marshaled value.
4794
4794
- ` close ` - a function with the signature ` function(response) ` used to close the resources
4795
4795
opened by the response object (e.g. file handlers), where:
4796
4796
- ` response ` - the response object being marshaled.
You can’t perform that action at this time.
0 commit comments