webdav_discover_sources_full


Description:

[ CCode ( cname = "e_webdav_discover_sources_full" , finish_name = "e_webdav_discover_sources_finish" ) ]
[ Version ( since = "3.30" ) ]
public async bool webdav_discover_sources_full (string? url_use_path, uint32 only_supports, NamedParameters? credentials, WebDAVDiscoverRefSourceFunc? ref_source_func, Cancellable? cancellable, out string out_certificate_pem, out TlsCertificateFlags out_certificate_errors, out SList<WebDAVDiscoveredSource> out_discovered_sources, out SList<string> out_calendar_user_addresses) throws Error

This is the same as webdav_discover_sources, it only allows to provide a callback function (with its user_data), to reference an additional Source.

It's good to avoid creating its own SourceRegistry instance to get it.

When the operation is finished, callback will be called. You can then call webdav_discover_sources.end to get the result of the operation.

Parameters:

url_use_path

optional URL override, or null

only_supports

bit-or of EWebDAVDiscoverSupports, to limit what type of sources to search

credentials

credentials to use for authentication to the server

ref_source_func

optional callback to use to get an ESource

cancellable

optional Cancellable object, or null

callback

a TaskReadyCallback to call when the request is satisfied

ref_source_func_user_data

user data for ref_source_func

source

an Source from which to take connection details

user_data

data to pass to the callback function