Skip to main content

fetch

Function fetch 

Source
pub async fn fetch(http: &Client, url: &str) -> Result<String>
Expand description

GET a fully-prepared timedtext URL and return the response body.

url is consumed as-is. Callers normally obtain it from super::player_response::SelectedTrack::fetch_url, which already carries the signed signature, fmt=json3, and any tlang= parameter.