Back to Seed Clases

Soup


Classes

Interfaces

Structs

Unions

Enums

Struct Soup.Range

Import line: Soup = imports.gi.Soup;
GIR File: Soup-2.4.gir
C documentation: SoupRange
Struct : Range
  Show / Hide Inherited methods, properties and signals
Represents a byte range as used in the Range header. If end is non-negative, then start and end represent the bounds of of the range, counting from %0. (Eg, the first 500 bytes would be represented as start = %0 and end = %499.) If end is %-1 and start is non-negative, then this represents a range starting at start and ending with the last byte of the requested resource body. (Eg, all but the first 500 bytes would be If end is %-1 and start is negative, then it represents a "suffix range", referring to the last -start bytes of the resource body. (Eg, the last 500 bytes would be start = %-500 and end = %-1.)
Properties
Properties Defined By
Methods / Constructors
Method / Constructor Defined By
 
new Soup.Range ()
Create a new Soup.Range
Create a new Soup.Range
 
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Soup.MessageHeaders
Method
get_ranges (Number total_length, Range ranges, Object out_values) : Boolean
Parses hdrs's Range header and returns an array of the requested byte ranges.
Soup.MessageHeaders
Method
free_ranges (Range ranges) : none
Frees the array of ranges returned from soup_message_headers_get_ranges().
Soup.MessageHeaders
Method
set_ranges (Range ranges, Number length) : none
Sets hdrs's Range header to request the indicated ranges.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Tue Jun 22 2010 16:35:00 GMT+0800 (HKT)