Expand description
Service discovery helpers.
Service discovery allows finding the exact location of a CalDAV or CardDAV server. The process involves a few steps:
- Find the exact server using SRV Service Labels. See
resolve_srv_record
. - Find the context path via TXT records or the well-known URI. See
find_context_url
- Find the current user’s principal resource. See
WebDavClient::find_current_user_principal
.
§See also
Enums§
- Error type for
crate::CalDavClient::new_via_bootstrap
andcrate::CardDavClient::new_via_bootstrap
. - Error type for
find_context_url
. - Services for which automatic discovery is possible.
- Error returned by
find_context_path_via_txt_records
.
Functions§
- Resolves a context path via TXT records.
- Find a CalDAV or CardDAV context path via client bootstrap sequence.
- Resolves SRV to locate the caldav server.