get_content_range


Description:

[ Version ( since = "2.26" ) ]
public bool get_content_range (out int64 start, out int64 end, out int64 total_length)

Parses this's Content-Range header and returns it in start, end, and total_length.

If the total length field in the header was specified as "*", then total_length will be set to -1.

Parameters:

this

a MessageHeaders

start

return value for the start of the range

end

return value for the end of the range

total_length

return value for the total length of the resource, or null if you don't care.

Returns:

true if this contained a "Content-Range" header containing a byte range which could be parsed, false otherwise.




2022 vala-language.org