/**
 * Exports the context with the given name to a file. If a relative file path is specified it will be resolved against the "contexts" directory in ZAP "home" dir.
*/
Exports the context with the given name to a file. If a relative file path is specified it will be resolved against the "contexts" directory in ZAP "home" dir.
Exports the context with the given name to a file . If a relative file path is specified it will be resolved against the " contexts " directory in ZAP " home " dir .
pub fn export_context(
    service: &ZapService,
    contextname: String,
    contextfile: String,
) -> Result<Value, ZapApiError> {
    let mut params = HashMap::new();
    params.insert("contextName".to_string(), contextname);
    params.insert("contextFile".to_string(), contextfile);
    super::call(service, "context", "action", "exportContext", params)
}
pub fn export_context ( service : & ZapService , contextname : String , contextfile : String , ) -> Result < Value , ZapApiError > { let mut params = HashMap :: new ( ) ; params . insert ( " " . to_string ( ) , contextname ) ; params . insert ( " " . to_string ( ) , contextfile ) ; super :: call ( service , " " , " " , " " , params ) }
Exports the context with the given name to a file.
Exports the context with the given name to a file .
service
&ZapService
contextname
String
contextfile
String