Skip to main content

address_of

Function address_of 

Source
pub fn address_of(typed: &str) -> Result<String, Refusal>
Expand description

The server’s address as typed, made whole: cloud.example.org → https://cloud.example.org; https://cloud.example.org/nextcloud/ → https://cloud.example.org/nextcloud; the server’s own pages after it (/index.php/…, /login…, /apps/files/…) left out. A plain http:// is refused: the app password would travel unencrypted.