/**
 * Gets the sessions for the given site. Optionally returning just the session with the given name.
*/
Gets the sessions for the given site. Optionally returning just the session with the given name.
Gets the sessions for the given site . Optionally returning just the session with the given name .
pub fn sessions(service: &ZapService, site: String, session: String) -> Result<Value, ZapApiError> {
    let mut params = HashMap::new();
    params.insert("site".to_string(), site);
    params.insert("session".to_string(), session);
    super::call(service, "httpSessions", "view", "sessions", params)
}
pub fn sessions ( service : & ZapService , site : String , session : String ) -> Result < Value , ZapApiError > { let mut params = HashMap :: new ( ) ; params . insert ( " " . to_string ( ) , site ) ; params . insert ( " " . to_string ( ) , session ) ; super :: call ( service , " " , " " , " " , params ) }
Gets the sessions for the given site.
Gets the sessions for the given site .
service
&ZapService
site
String
session
String