Class

PhodavServer

Description [src]

final class Phodav.Server : GObject.Object
{
  /* No available fields */
}

A WebDAV server implementation, see RFC 4918.

The directory to share is set at construction time, with either the PhodavServer:root or the PhodavServer:root-file property. An already configured SoupServer may also be given at construction time with the PhodavServer:server property, otherwise a new one is created.

Hierarchy

hierarchy this PhodavServer ancestor_0 GObject ancestor_0--this

Ancestors

Constructors

phodav_server_new

Creates a new PhodavServer. This is equivalent to constructing a GFile from root and using phodav_server_new_for_root_file().

phodav_server_new_for_root_file

Creates a new PhodavServer and publishes the files under root.

since: 2.5

Instance methods

phodav_server_get_soup_server

Returns the underlying %SoupServer, if any.

phodav_server_stop

Stops serving DAV requests.

since: 3.1

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Phodav.Server:base-path

The path prefix the DAV handlers are registered at on the SoupServer.

since: 3.1

Phodav.Server:max-upload

The maximum size of a PUT request body, in bytes. An upload which would be larger is refused with 413 Request Entity Too Large, and the file it was writing is discarded rather than left truncated. The default, 0, does not limit the uploads.

since: 3.1

Phodav.Server:read-only

Whether the shared folder is read-only.

Phodav.Server:root

This property is interconnected with the property PhodavServer:root-file. Changing PhodavServer:root affects PhodavServer:root-file and vice versa.

Phodav.Server:root-file

A more generic version of PhodavServer:root, see it for more details.

since: 2.5

Phodav.Server:server

The underlying SoupServer.

since: 3.1

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct PhodavServerClass {
  GObjectClass parent_class;
  
}

No description available.

Class members
parent_class: GObjectClass

No description available.