Ambition.Response.get_body_data – ambition Reference Manual
Packages
ambition
Ambition
Response
body
body_array
body_stream
body_stream_length
content_type
cookies
headers
status
Response
done
get_body_data
get_body_length
get_cookie
header
is_done
redirect
set_cookie
set_header
get_body_data
Description:
public
InputStream
?
get_body_data
()
Get body data universally, whether body is a stream, array, or string.
Returns:
InputStream