RygelHTTPRequest

RygelHTTPRequest — Base class for HTTP client requests.

Types and Values

Description

Functions

Types and Values

RYGEL_TYPE_HTTP_REQUEST

#define RYGEL_TYPE_HTTP_REQUEST (rygel_http_request_get_type ())

The type for RygelHTTPRequest.


struct RygelHTTPRequest

struct RygelHTTPRequest {
	GObject parent_instance;
	RygelHTTPRequestPrivate * priv;
	RygelHTTPServer* http_server;
	SoupServer* server;
	SoupServerMessage* msg;
	RygelHTTPItemURI* uri;
	RygelMediaObject* object;
	RygelClientHacks* hack;
};

Base class for HTTP client requests.


struct RygelHTTPRequestClass

struct RygelHTTPRequestClass {
	GObjectClass parent_class;
	void (*handle) (RygelHTTPRequest* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
	void (*handle_finish) (RygelHTTPRequest* self, GAsyncResult* _res_, GError** error);
	void (*find_item) (RygelHTTPRequest* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
	void (*find_item_finish) (RygelHTTPRequest* self, GAsyncResult* _res_, GError** error);
};

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

Members

handle ()

virtual method used internally

 

handle_finish ()

asynchronous finish function used internally

 

find_item ()

virtual method used internally

 

find_item_finish ()

asynchronous finish function used internally

 

enum RygelHTTPRequestError

Members

RYGEL_HTTP_REQUEST_ERROR_UNACCEPTABLE

   

RYGEL_HTTP_REQUEST_ERROR_BAD_REQUEST

   

RYGEL_HTTP_REQUEST_ERROR_NOT_FOUND

   

RYGEL_HTTP_REQUEST_ERROR_INTERNAL_SERVER_ERROR