[−][src]Function zap_api::core::set_option_default_user_agent
pub fn set_option_default_user_agent(
service: &ZapService,
string: String
) -> Result<Value, ZapApiError>
Sets the user agent that ZAP should use when creating HTTP messages (for example, spider messages or CONNECT requests to outgoing proxy).