pub fn snapshot_session(
    service: &ZapService,
    name: String,
    overwrite: String,
) -> Result<Value, ZapApiError> {
    let mut params = HashMap::new();
    params.insert("name".to_string(), name);
    params.insert("overwrite".to_string(), overwrite);
    super::call(service, "core", "action", "snapshotSession", params)
}
/**
 * Snapshots the session, optionally with the given name, and overwriting existing files. If no name is specified the name of the current session with a timestamp appended is used. If a relative path is specified it will be resolved against the "session" directory in ZAP "home" dir.
*/
Snapshots the session, optionally with the given name, and overwriting existing files. If no name is specified the name of the current session with a timestamp appended is used. If a relative path is specified it will be resolved against the "session" directory in ZAP "home" dir.
Snapshots the session optionally with the given name and overwriting existing files . If no name is specified the name of the current session with a timestamp appended is used . If a relative path is specified it will be resolved against the " session " directory in ZAP " home " dir .
pub fn snapshot_session(
    service: &ZapService,
    name: String,
    overwrite: String,
) -> Result<Value, ZapApiError> {
    let mut params = HashMap::new();
    params.insert("name".to_string(), name);
    params.insert("overwrite".to_string(), overwrite);
    super::call(service, "core", "action", "snapshotSession", params)
}
pub fn snapshot_session ( service : & ZapService , name : String , overwrite : String , ) -> Result < Value , ZapApiError > { let mut params = HashMap :: new ( ) ; params . insert ( " " . to_string ( ) , name ) ; params . insert ( " " . to_string ( ) , overwrite ) ; super :: call ( service , " " , " " , " " , params ) }
Snapshots the session, optionally with the given name, and overwriting existing files.
Snapshots the session optionally with the given name and overwriting existing files .
service
&ZapService
name
String
overwrite
String
service
&ZapService
name
String
overwrite
String