RygelHTTPGetHandler

RygelHTTPGetHandler — HTTP GET request handler interface.

Types and Values

Description

Functions

Types and Values

RYGEL_TYPE_HTTP_GET_HANDLER

#define RYGEL_TYPE_HTTP_GET_HANDLER (rygel_http_get_handler_get_type ())

The type for RygelHTTPGetHandler.


RYGEL_HTTP_GET_HANDLER_TRANSFER_MODE_HEADER

#define RYGEL_HTTP_GET_HANDLER_TRANSFER_MODE_HEADER "transferMode.dlna.org"

RYGEL_HTTP_GET_HANDLER_TRANSFER_MODE_STREAMING

#define RYGEL_HTTP_GET_HANDLER_TRANSFER_MODE_STREAMING "Streaming"

RYGEL_HTTP_GET_HANDLER_TRANSFER_MODE_INTERACTIVE

#define RYGEL_HTTP_GET_HANDLER_TRANSFER_MODE_INTERACTIVE "Interactive"

RYGEL_HTTP_GET_HANDLER_TRANSFER_MODE_BACKGROUND

#define RYGEL_HTTP_GET_HANDLER_TRANSFER_MODE_BACKGROUND "Background"

struct RygelHTTPGetHandler

struct RygelHTTPGetHandler {
	GObject parent_instance;
	RygelHTTPGetHandlerPrivate * priv;
};

HTTP GET request handler interface.


struct RygelHTTPGetHandlerClass

struct RygelHTTPGetHandlerClass {
	GObjectClass parent_class;
	void (*add_response_headers) (RygelHTTPGetHandler* self, RygelHTTPGet* request, GError** error);
	gchar* (*get_default_transfer_mode) (RygelHTTPGetHandler* self);
	gboolean (*supports_transfer_mode) (RygelHTTPGetHandler* self, const gchar* mode);
	gint64 (*get_resource_size) (RygelHTTPGetHandler* self);
	gint64 (*get_resource_duration) (RygelHTTPGetHandler* self);
	gboolean (*supports_byte_seek) (RygelHTTPGetHandler* self);
	gboolean (*supports_time_seek) (RygelHTTPGetHandler* self);
	gboolean (*supports_playspeed) (RygelHTTPGetHandler* self);
	RygelHTTPResponse* (*render_body) (RygelHTTPGetHandler* self, RygelHTTPGet* request, GError** error);
};

The class structure for RYGEL_TYPE_HTTP_GET_HANDLER. All the fields in this structure are private and should never be accessed directly.

Members

add_response_headers ()

virtual method called by rygel_http_get_handler_add_response_headers()

 

get_default_transfer_mode ()

virtual method called by rygel_http_get_handler_get_default_transfer_mode()

 

supports_transfer_mode ()

virtual method called by rygel_http_get_handler_supports_transfer_mode()

 

get_resource_size ()

virtual method called by rygel_http_get_handler_get_resource_size()

 

get_resource_duration ()

virtual method called by rygel_http_get_handler_get_resource_duration()

 

supports_byte_seek ()

virtual method called by rygel_http_get_handler_supports_byte_seek()

 

supports_time_seek ()

virtual method called by rygel_http_get_handler_supports_time_seek()

 

supports_playspeed ()

virtual method called by rygel_http_get_handler_supports_playspeed()

 

render_body ()

virtual method called by rygel_http_get_handler_render_body()