Ambition.Response.get_body_length – 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_length
Description:
public
int64
get_body_length
()
Get body data length universally, whether body is a stream, array, or string.
Returns:
int64