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