Function twitch_api::client::user_agent
source · [−]pub fn user_agent(
product: Option<HeaderValue>
) -> Result<HeaderValue, InvalidHeaderValue>
Available on crate feature
client
only.Expand description
Gives the User-Agent header value for a client annotated with an added twitch_api
product