Function git_protocol::fetch::agent[][src]

pub fn agent() -> (&'static str, Option<&'static str>)

Returns the name of the agent as key-value pair, commonly used in HTTP headers.