SourceWebdav
Object Hierarchy:
Description:
[
CCode ( type_id =
"e_source_webdav_get_type ()" ) ]
[
Version ( since =
"3.6" ) ]
public class SourceWebdav :
SourceExtension
Contains only private data that should be read and manipulated using the functions below.
Content:
Properties:
- public bool avoid_ifmatch { get; set construct; }
Work around a bug in old Apache servers
- public bool calendar_auto_schedule { get; set construct; }
Whether the server handles meeting invitations (CalDAV-only)
- public string color { get; set construct; }
Color of the WebDAV resource
- public string display_name { get; set construct; }
Display name of the WebDAV resource
- public string email_address { get; set construct; }
The user's email address
- public uint limit_download_days { get; set construct; }
Limit how many past days can be downloaded.
- public uint order { get; set construct; }
A sorting order of the resource
- public string resource_path { get; set construct; }
Absolute path to a WebDAV resource
- public string resource_query { get; set construct; }
Query to access a WebDAV resource
- public string ssl_trust { get; set construct; }
SSL/TLS certificate trust setting, for invalid server certificates
- public uint timeout { get; set construct; }
Connection timeout, in seconds
- public Uri uri { owned get; set; }
WebDAV service as a GUri
Creation methods:
Methods:
- public string? dup_color ()
- public string? dup_display_name ()
- public string? dup_email_address ()
- public string? dup_resource_path ()
- public string? dup_resource_query ()
- public string? dup_ssl_trust ()
- public Uri dup_uri ()
- public bool get_avoid_ifmatch ()
This setting works around a <ulink url="https://issues.
- public bool get_calendar_auto_schedule ()
FIXME Document me!
- public unowned string? get_color ()
Returns the last known color of a WebDAV resource as provided by the
server.
- public unowned string? get_display_name ()
Returns the last known display name of a WebDAV resource, which may
differ from the display_name property of the
Source to which this belongs.
- public unowned string? get_email_address ()
Returns the user's email address which can be passed to a CalDAV
server if the user wishes to receive scheduling messages.
- public uint get_limit_download_days ()
- public uint get_order ()
- public unowned string? get_resource_path ()
Returns the absolute path to a resource on a WebDAV server.
- public unowned string? get_resource_query ()
Returns the URI query required to access a resource on a WebDAV
server.
- public unowned string? get_ssl_trust ()
Returns an SSL/TLS certificate trust for the
this.
- public TrustPromptResponse get_ssl_trust_response ()
- public uint get_timeout ()
- public void set_avoid_ifmatch (bool avoid_ifmatch)
This setting works around a <ulink url="https://issues.
- public void set_calendar_auto_schedule (bool calendar_auto_schedule)
FIXME Document me!
- public void set_color (string? color)
Updates the last known color of a WebDAV resource, as provided by the
server.
- public void set_display_name (string? display_name)
Updates the last known display name of a WebDAV resource, which may
differ from the display_name property of the
Source to which this belongs.
- public void set_email_address (string? email_address)
Sets the user's email address which can be passed to a CalDAV server
if the user wishes to receive scheduling messages.
- public void set_limit_download_days (uint value)
Limit how many past days can be downloaded.
- public void set_order (uint order)
Set the sorting order of the resource.
- public void set_resource_path (string? resource_path)
Sets the absolute path to a resource on a WebDAV server.
- public void set_resource_query (string? resource_query)
Sets the URI query required to access a resource on a WebDAV server.
- public void set_ssl_trust (string? ssl_trust)
Sets the SSL/TLS certificate trust.
- public void set_ssl_trust_response (TrustPromptResponse response)
Set the SSL trust response, as
TrustPromptResponse, while keeping the certificate and host information as
before.
- public void set_timeout (uint timeout)
Set the connection timeout, in seconds.
- public void set_uri (Uri uri)
- public void unset_temporary_ssl_trust ()
Unsets temporary trust set on this this
, but keeps it as is for other values.
- public void update_ssl_trust (string host, TlsCertificate cert, TrustPromptResponse response)
Updates user's response from a trust prompt, thus it is re-used the
next time it'll be needed.
- public TrustPromptResponse verify_ssl_trust (string host, TlsCertificate cert, TlsCertificateFlags cert_errors)
Verifies SSL/TLS trust for the given host and cert
, as previously stored in the this with
update_ssl_trust.
Inherited Members:
All known members inherited from class E.SourceExtension
All known members inherited from class GLib.Object