[−][src]Function clean_url::utils::add_www
pub async fn add_www<'_>(url: &'_ str) -> String
Adds www to a URL
Usage:
use clean_url::utils::add_www; use tokio_test::block_on; assert_eq!(String::from("http://www.example.com"), block_on(add_www("http://example.com")));