HTTPGet
Handler
Class
constructor
name
add_
response_
headers
get_
default_
transfer_
mode
get_
resource_
duration
get_
resource_
size
render_
body
supports_
byte_
seek
supports_
playspeed
supports_
time_
seek
supports_
transfer_
mode
GJS API Reference
RygelServer-2.6
RygelServer
HTTPGetHandlerClass
Class HTTPGetHandlerClass
Hierarchy
HTTPGetHandlerClass
Index
Constructors
constructor
Properties
name
Methods
add_
response_
headers
get_
default_
transfer_
mode
get_
resource_
duration
get_
resource_
size
render_
body
supports_
byte_
seek
supports_
playspeed
supports_
time_
seek
supports_
transfer_
mode
Constructors
constructor
new HTTPGet
Handler
Class
(
)
:
HTTPGetHandlerClass
Returns
HTTPGetHandlerClass
Properties
Static
name
name
:
string
Methods
add_
response_
headers
add_
response_
headers
(
self
:
HTTPGetHandler
, request
:
HTTPGet
)
:
void
Parameters
self:
HTTPGetHandler
request:
HTTPGet
Returns
void
get_
default_
transfer_
mode
get_
default_
transfer_
mode
(
self
:
HTTPGetHandler
)
:
string
Parameters
self:
HTTPGetHandler
Returns
string
get_
resource_
duration
get_
resource_
duration
(
self
:
HTTPGetHandler
)
:
number
Parameters
self:
HTTPGetHandler
Returns
number
get_
resource_
size
get_
resource_
size
(
self
:
HTTPGetHandler
)
:
number
Parameters
self:
HTTPGetHandler
Returns
number
render_
body
render_
body
(
self
:
HTTPGetHandler
, request
:
HTTPGet
)
:
HTTPResponse
Parameters
self:
HTTPGetHandler
request:
HTTPGet
Returns
HTTPResponse
supports_
byte_
seek
supports_
byte_
seek
(
self
:
HTTPGetHandler
)
:
boolean
Parameters
self:
HTTPGetHandler
Returns
boolean
supports_
playspeed
supports_
playspeed
(
self
:
HTTPGetHandler
)
:
boolean
Parameters
self:
HTTPGetHandler
Returns
boolean
supports_
time_
seek
supports_
time_
seek
(
self
:
HTTPGetHandler
)
:
boolean
Parameters
self:
HTTPGetHandler
Returns
boolean
supports_
transfer_
mode
supports_
transfer_
mode
(
self
:
HTTPGetHandler
, mode
:
string
)
:
boolean
Parameters
self:
HTTPGetHandler
mode:
string
Returns
boolean
HTTPGet
Handler
Class
constructor
name
add_
response_
headers
get_
default_
transfer_
mode
get_
resource_
duration
get_
resource_
size
render_
body
supports_
byte_
seek
supports_
playspeed
supports_
time_
seek
supports_
transfer_
mode
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJSeWdlbFNlcnZlcl8yXzYuUnlnZWxTZXJ2ZXIuSFRUUEdldEhhbmRsZXJDbGFzcy5odG1sI2NvbnN0cnVjdG9yIiwibmFtZSI6ImNvbnN0cnVjdG9yIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJuIjp0cnVlfSx7ImNsYXNzTmFtZXMiOiJ0c2Qta2luZC1wcm9wZXJ0eSB0c2QtcGFyZW50LWtpbmQtY2xhc3MgdHNkLWlzLXN0YXRpYyIsImhyZWYiOiJSeWdlbFNlcnZlcl8yXzYuUnlnZWxTZXJ2ZXIuSFRUUEdldEhhbmRsZXJDbGFzcy5odG1sI25hbWUiLCJuYW1lIjoibmFtZSIsImNoaWxkcmVuIjpbXSwiaXNFeHRlcm4iOmZhbHNlLCJpc0ludGVybiI6dHJ1ZX0seyJjbGFzc05hbWVzIjoidHNkLWtpbmQtbWV0aG9kIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJSeWdlbFNlcnZlcl8yXzYuUnlnZWxTZXJ2ZXIuSFRUUEdldEhhbmRsZXJDbGFzcy5odG1sI2FkZF9yZXNwb25zZV9oZWFkZXJzIiwibmFtZSI6ImFkZF9yZXNwb25zZV9oZWFkZXJzIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJuIjp0cnVlfSx7ImNsYXNzTmFtZXMiOiJ0c2Qta2luZC1tZXRob2QgdHNkLXBhcmVudC1raW5kLWNsYX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