public static bool CheckErrorType(this UnityWebRequest res, int responseCode, string key, string value) { return(res.responseCode == responseCode && res.GetErrorType(key).Equals(value)); }
public static bool CheckErrorType(this UnityWebRequest res, string key, string value) { return(res.GetErrorType(key).Equals(value)); }