caldav/internal/xml_response

Values

pub fn parse_calendar_home_set(
  body: String,
) -> Result(String, error.Error)

Parses the calendar home set URL from a DAV multistatus response.

pub fn parse_calendar_query(
  body: String,
) -> Result(List(types.Event), error.Error)

Parses calendar object resources from a CalDAV calendar-query response.

pub fn parse_calendars(
  body: String,
) -> Result(List(types.Calendar), error.Error)

Parses calendar collection entries from a DAV multistatus response.

pub fn parse_current_user_principal(
  body: String,
) -> Result(String, error.Error)

Parses the current user principal URL from a DAV multistatus response.

Search Document