pub async fn leave_group(
        &mut self,
        group_id: &str,
        member_id: &str,
    ) -> Result<KfLeaveGroupResponse, KfSocketError> {

        let mut request = KfLeaveGroupRequest::default();
      
        // request with protocol
        request.group_id = group_id.to_owned();
        request.member_id = member_id.to_owned();

        self.0.send_receive(request).await
    }
// Ask Group Coordinator to leave the group
Ask Group Coordinator to leave the group
Ask Group Coordinator to leave the group
pub async fn leave_group(
        &mut self,
        group_id: &str,
        member_id: &str,
    ) -> Result<KfLeaveGroupResponse, KfSocketError> {
        let mut request = KfLeaveGroupRequest::default();
        // request with protocol
        request.group_id = group_id.to_owned();
        request.member_id = member_id.to_owned();
        self.0.send_receive(request).await
    }
pub async fn leave_group ( & mut self , group_id : & str , member_id : & str , ) -> Result < KfLeaveGroupResponse , KfSocketError > { let mut request = KfLeaveGroupRequest :: default ( ) ; // request with protocol request . group_id = group_id . to_owned ( ) ; request . member_id = member_id . to_owned ( ) ; self . 0 . send_receive ( request ) . await }
Ask Group Coordinator to leave the group
Ask Group Coordinator to leave the group
&mut self
group_id
&str
member_id
&str
&mut self
group_id
&str
member_id
&str