New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Removing Depricated APIs #164
Conversation
Removed depricated APIs: `UnityWebRequest.result.isNetworkError` and `UnityWebRequest.result.isHttpError` Replaced with : `UnityWebRequest.Result.ConnectionError` and `UnityWebRequest.Result.ProtocolError`
adding back the missing code from commit f5c546d
Travis seems to build using an older versions of unity (ie: 2019.x), these changes aren't necessary unless you decide to support unity 2020+. |
Can you use compilation conditionals to support previous versions too? e.g: https://github.com/proyecto26/RestClient/blob/develop/src/Proyecto26.RestClient/Helpers/RequestHelper.cs#L203 |
Added Compilations Conditionals as a means of backwards compatibility. proyecto26#164 (comment)
Changed lineEndings from Mac to Windows format
Should pass the CI build test now. |
Thanks for your help mate! |
Added Compilations Conditionals as a means of backwards compatibility. #164 (comment)
Added Compilations Conditionals as a means of backwards compatibility. #164 (comment)
Removed depricated APIs
UnityWebRequest.result.isNetworkError
UnityWebRequest.result.isHttpError
Replaced with
UnityWebRequest.Result.ConnectionError
UnityWebRequest.Result.ProtocolError