caldav/discovery

Values

pub fn discover(
  client: types.Client,
) -> Result(types.DiscoveryInfo, error.Error)

Runs the standard CalDAV discovery flow and returns the discovered endpoints.

pub fn find_calendar_home_set(
  client: types.Client,
  principal_url: String,
) -> Result(String, error.Error)

Finds the calendar home set URL for a discovered principal.

pub fn find_principal(
  client: types.Client,
) -> Result(String, error.Error)

Finds the current user principal URL from the server root.

Search Document