Skip to content

Conversation

@jdnichollsc
Copy link
Member

@jdnichollsc jdnichollsc commented Dec 9, 2021

Added

Changed

  • Changes to use RetryCallback to handle token expiration by @fegabe (#142).

Fixed

Removed

jdnichollsc and others added 30 commits June 15, 2020 18:20
…ying is waiting to perform actions like a token refresh
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
Added Compilations Conditionals as a means of backwards compatibility.
#164 (comment)
Changed lineEndings from Mac to Windows format
Changes to use RetryCallback to handle token expiration
exceptions. NO_CONTENT is not considered as being an error, and
therefore previous code would try to parse body data even with a
NO_CONTENT being returned. Various backend frameworks use NO_CONTENT as
a way to gracefully indicates that a specific resource is empty (for
instance, if you try to get the list of items in a player's inventory
and the inventory is empty).
solution to make network call on main thread
Fix: Handle HTTP NO CONTENT status code (204) to prevent null reference exceptions in HttpBase.cs
@jdnichollsc jdnichollsc merged commit 712b78c into master Dec 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants