Rygel.HTTPTimeSeekResponse – librygel-server Reference Manual
Packages
librygel-server
Rygel
HTTPTimeSeekResponse
end_byte
end_time
range_duration
response_length
start_byte
start_time
total_duration
total_size
HTTPTimeSeekResponse
HTTPTimeSeekResponse.from_request
HTTPTimeSeekResponse.time_only
HTTPTimeSeekResponse.with_length
add_response_headers
to_string
HTTPTimeSeekResponse
Object Hierarchy:
Description:
public
class
HTTPTimeSeekResponse
:
HTTPResponseElement
Namespace:
Rygel
Package:
librygel-server
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:
public
override
void
add_response_headers
(
HTTPRequest
request)
public
override
string
to_string
()
Inherited Members:
All known members inherited from class Rygel.HTTPResponseElement
UNSPECIFIED
add_response_headers
to_string
All known members inherited from class GLib.Object
@new
newv
new_valist
get_type
get_class
@ref
unref
ref_sink
weak_ref
weak_unref
add_weak_pointer
remove_weak_pointer
@get
@set
get_property
set_property
get_data
set_data
set_data_full
steal_data
get_qdata
set_qdata
set_qdata_full
steal_qdata
freeze_notify
thaw_notify
dispose
constructed
notify_property
connect
disconnect
add_toggle_ref
remove_toggle_ref
bind_property
notify
ref_count