Top | ![]() |
![]() |
![]() |
![]() |
GCancellable * | cancellable | Read / Write |
gchar * | path-root | Read |
gchar * | server-name | Read / Write |
void rygel_http_server_set_resource_delivery_options (RygelHTTPServer *self
,RygelMediaResource *res
);
Set or unset options the server supports/doesn't support
Resources should be setup assuming server supports all optional delivery modes
gboolean rygel_http_server_need_proxy (RygelHTTPServer *self
,const gchar *uri
);
GHashTable *
rygel_http_server_get_replacements (RygelHTTPServer *self
);
RygelHTTPServer * rygel_http_server_new (RygelContentDirectory *content_dir
,const gchar *name
);
const gchar *
rygel_http_server_get_path_root (RygelHTTPServer *self
);
Get and return the current value of the "path-root" property.
const gchar *
rygel_http_server_get_server_name (RygelHTTPServer *self
);
Get and return the current value of the "server-name" property.
void rygel_http_server_set_server_name (RygelHTTPServer *self
,const gchar *value
);
Set the value of the "server-name" property to value
.
self |
the RygelHTTPServer instance to modify |
|
value |
the new value of the "server-name" property |
#define RYGEL_TYPE_HTTP_SERVER (rygel_http_server_get_type ())
The type for RygelHTTPServer.
struct RygelHTTPServerClass { GObjectClass parent_class; gchar* (*get_protocol) (RygelHTTPServer* self); GeeArrayList* (*get_protocol_info) (RygelHTTPServer* self); };
The class structure for RYGEL_TYPE_HTTP_SERVER
. All the fields in this structure are private and should never be accessed directly.
“server-name”
property“server-name” gchar *
server-name.
Flags: Read / Write
Default value: NULL