View Source Excalt.Request.UrlHelper (Excalt v0.1.2)
Helper functions to create the urls used for the caldav requests.
Link to this section Summary
Functions
Builds the url for accessing the calendar of a user.
Builds the url for accessing the calendar of a user.
Link to this section Functions
Builds the url for accessing the calendar of a user.
@spec build_url( server_url :: String.t(), username :: String.t(), calendar_name :: String.t() ) :: String.t()
Builds the url for accessing the calendar of a user.
examples
Examples
iex> Excalt.Request.UrlHelper.build_url("http://mycaldavserver.org", "myuser", "mycalendar")
"http://mycaldavserver.org/myuser/mycalendar"