/**
 * Adds a custom HTTP breakpont. The string is the string to match. Location may be one of: url, request_header, request_body, response_header or response_body. Match may be: contains or regex. Inverse (match) may be true or false. Lastly, ignorecase (when matching the string) may be true or false.  
*/
Adds a custom HTTP breakpont. The string is the string to match.
Adds a custom HTTP breakpont . The string is the string to match .
pub fn add_http_breakpoint(
    service: &ZapService,
    string: String,
    location: String,
    mtch: String,
    inverse: String,
    ignorecase: String,
) -> Result<Value, ZapApiError> {
    let mut params = HashMap::new();
    params.insert("string".to_string(), string);
    params.insert("location".to_string(), location);
    params.insert("match".to_string(), mtch);
    params.insert("inverse".to_string(), inverse);
    params.insert("ignorecase".to_string(), ignorecase);
    super::call(service, "break", "action", "addHttpBreakpoint", params)
}
pub fn add_http_breakpoint ( service : & ZapService , string : String , location : String , mtch : String , inverse : String , ignorecase : String , ) -> Result < Value , ZapApiError > { let mut params = HashMap :: new ( ) ; params . insert ( " " . to_string ( ) , string ) ; params . insert ( " " . to_string ( ) , location ) ; params . insert ( " " . to_string ( ) , mtch ) ; params . insert ( " " . to_string ( ) , inverse ) ; params . insert ( " " . to_string ( ) , ignorecase ) ; super :: call ( service , " " , " " , " " , params ) }
Adds a custom HTTP breakpont.
Adds a custom HTTP breakpont .
service
&ZapService
string
String
location
String
mtch
String
inverse
String
ignorecase
String