renderResponse
suspend fun renderResponse(response: MutableHttpResponse<ByteArrayOutputStream>): MutableHttpResponse<ByteArrayOutputStream>
Render the attached script into a ByteArrayOutputStream, and wrap it in a Micronaut MutableHttpResponse provided at response.
Return
Mutable response with body data filled in from the execution result of script.
Parameters
response
Base mutable response to fill body data for.