pub fn scan(
    service: &ZapService,
    url: String,
    maxchildren: String,
    recurse: String,
    contextname: String,
    subtreeonly: String,
) -> Result<Value, ZapApiError> {
    let mut params = HashMap::new();
    params.insert("url".to_string(), url);
    params.insert("maxChildren".to_string(), maxchildren);
    params.insert("recurse".to_string(), recurse);
    params.insert("contextName".to_string(), contextname);
    params.insert("subtreeOnly".to_string(), subtreeonly);
    super::call(service, "spider", "action", "scan", params)
}
/**
 * Runs the spider against the given URL (or context). Optionally, the 'maxChildren' parameter can be set to limit the number of children scanned, the 'recurse' parameter can be used to prevent the spider from seeding recursively, the parameter 'contextName' can be used to constrain the scan to a Context and the parameter 'subtreeOnly' allows to restrict the spider under a site's subtree (using the specified 'url').
*/
Runs the spider against the given URL (or context).
Runs the spider against the given URL ( or context ) .
pub fn scan(
    service: &ZapService,
    url: String,
    maxchildren: String,
    recurse: String,
    contextname: String,
    subtreeonly: String,
) -> Result<Value, ZapApiError> {
    let mut params = HashMap::new();
    params.insert("url".to_string(), url);
    params.insert("maxChildren".to_string(), maxchildren);
    params.insert("recurse".to_string(), recurse);
    params.insert("contextName".to_string(), contextname);
    params.insert("subtreeOnly".to_string(), subtreeonly);
    super::call(service, "spider", "action", "scan", params)
}
pub fn scan ( service : & ZapService , url : String , maxchildren : String , recurse : String , contextname : String , subtreeonly : String , ) -> Result < Value , ZapApiError > { let mut params = HashMap :: new ( ) ; params . insert ( " " . to_string ( ) , url ) ; params . insert ( " " . to_string ( ) , maxchildren ) ; params . insert ( " " . to_string ( ) , recurse ) ; params . insert ( " " . to_string ( ) , contextname ) ; params . insert ( " " . to_string ( ) , subtreeonly ) ; super :: call ( service , " " , " " , " " , params ) }
Runs the spider against the given URL (or context).
Runs the spider against the given URL ( or context ) .
service
&ZapService
url
String
maxchildren
String
recurse
String
contextname
String
subtreeonly
String
service
&ZapService
url
String
maxchildren
String
recurse
String
contextname
String
subtreeonly
String