HTTPTimeSeekResponse
Object Hierarchy:
Description:
public class HTTPTimeSeekResponse :
HTTPResponseElement
Content:
Properties:
- public int64 end_byte { get; }
The end of the range in bytes (inclusive)
- public int64 end_time { get; }
Effective range end time, in microseconds
- public int64 range_duration { get; }
Effective range duration, in microseconds
- public int64 response_length { get; }
The response length in bytes
- public int64 start_byte { get; }
The start of the range in bytes
- public int64 start_time { get; }
Effective range start time, in microseconds
- public int64 total_duration { get; }
The total duration of the resource, in microseconds
- 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.from_request (HTTPTimeSeekRequest time_seek_request, int64 total_duration)
Create a HTTPTimeSeekResponse from a HTTPTimeSeekRequest
- 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.
Methods:
Inherited Members:
All known members inherited from class Rygel.HTTPResponseElement
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref