/**
 * Adds the session token to the given site.
*/
Adds the session token to the given site.
Adds the session token to the given site .
pub fn add_session_token(
    service: &ZapService,
    site: String,
    sessiontoken: String,
) -> Result<Value, ZapApiError> {
    let mut params = HashMap::new();
    params.insert("site".to_string(), site);
    params.insert("sessionToken".to_string(), sessiontoken);
    super::call(service, "httpSessions", "action", "addSessionToken", params)
}
pub fn add_session_token ( service : & ZapService , site : String , sessiontoken : String , ) -> Result < Value , ZapApiError > { let mut params = HashMap :: new ( ) ; params . insert ( " " . to_string ( ) , site ) ; params . insert ( " " . to_string ( ) , sessiontoken ) ; super :: call ( service , " " , " " , " " , params ) }
Adds the session token to the given site.
Adds the session token to the given site .
service
&ZapService
site
String
sessiontoken
String