HTTPTimeSeekResponse
Object Hierarchy:
Description:
public class HTTPTimeSeekResponse :
HTTPResponseElement
Content:
Properties:
- public int64 start_time { get; }
Effective range start time, in microseconds
- public int64 end_time { get; }
Effective range end time, in microseconds
- public int64 range_duration { get; }
Effective range duration, in microseconds
- public int64 total_duration { get; }
The total duration of the resource, in microseconds
- public int64 start_byte { get; }
The start of the range in bytes
- public int64 end_byte { get; }
The end of the range in bytes (inclusive)
- public int64 response_length { get; }
The response length in bytes
- public int64 total_size { get; }
The length of the resource in bytes
Creation methods:
- public HTTPTimeSeekResponse (int64 start_time, int64 end_time, int64 total_duration, int64 start_byte, int64 end_byte, int64 total_size)
Construct a HTTPTimeSeekResponse with time and byte range
- public HTTPTimeSeekResponse.time_only (int64 start_time, int64 end_time, int64 total_duration)
Create a HTTPTimeSeekResponse only containing a time range
- public HTTPTimeSeekResponse.with_length (int64 start_time, int64 end_time, int64 total_duration, int64 start_byte, int64 end_byte, int64 total_size, int64 response_length)
Construct a HTTPTimeSeekResponse with time and byte range and allowing
for a response length override. This is useful when the response body is larger than the specified byte range from the original
content binary.
- public HTTPTimeSeekResponse.from_request (HTTPTimeSeekRequest time_seek_request, int64 total_duration)
Create a HTTPTimeSeekResponse from a HTTPTimeSeekRequest
Methods:
Inherited Members:
All known members inherited from class Rygel.HTTPResponseElement
All known members inherited from class GLib.Object
- @new
- new_valist
- newv
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- freeze_notify
- @get
- get_class
- get_data
- get_property
- get_qdata
- get_type
- notify_property
- @ref
- ref_sink
- replace_data
- replace_qdata
- remove_toggle_ref
- remove_weak_pointer
- @set
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- steal_data
- steal_qdata
- thaw_notify
- unref
- weak_ref
- weak_unref
- notify
- ref_count