Top | ![]() |
![]() |
![]() |
![]() |
PhodavServer * | phodav_server_new () |
PhodavServer * | phodav_server_new_for_root_file () |
SoupServer * | phodav_server_get_soup_server () |
PhodavServer *
phodav_server_new (const gchar *root
);
Creates a new PhodavServer.
This is equivalent to constructing a GFile from root
and using phodav_server_new_for_root_file()
.
PhodavServer *
phodav_server_new_for_root_file (GFile *root
);
Creates a new PhodavServer and publishes the files under root
.
Since: 2.5
SoupServer *
phodav_server_get_soup_server (PhodavServer *server
);
Returns the underlying SoupServer
, if any.
“read-only”
property“read-only” gboolean
Read-only access.
Owner: PhodavServer
Flags: Read / Write
Default value: FALSE
“root”
property “root” char *
This property is interconnected with the property “root-file”. Changing “root” affects “root-file” and vice versa.
You can use either of them or none to construct a new PhodavServer, you should not use both.
Owner: PhodavServer
Flags: Read / Write / Construct
Default value: NULL
“root-file”
property“root-file” GFile *
A more generic version of “root”, see it for more details.
Owner: PhodavServer
Flags: Read / Write / Construct
Since: 2.5