Function urlshortener::providers::parse
source · pub fn parse(res: &str, provider: &Provider) -> Result<String, ProviderError>
Expand description
Parses the response from a successful request to a provider into the URL-shortened string.