Skip to content

v1.2

Compare
Choose a tag to compare
@m-canton m-canton released this 13 Aug 16:41
· 51 commits to main since this release

In this version HTTPManagerRequest.start returns to make requests in one line. You can add listeners (methods to call) with this method. Depending on the type of argument, it will set them in different ways:

  • Callable. Called when request is completed (even if it is not successful).
  • Array. First callable is called when request is completed successfully. Second callable is called on failure.
  • Dictionary. Keys must be HTTPManagerRequest.Listener and values 'Callable`s.

HTTPManagerRequest.with_* methods are HTTPManagerRequest.set_* now. To follow the Godot convention a bit on other objects.