Skip to content

Releases: m-canton/godot-http-manager

v2.0

27 Aug 15:52
Compare
Choose a tag to compare

Features

  • Less code to make OAuth 2.0 requests. State and PKCE generators.
  • Auto refresh OAuth 2.0 token.
  • Simple HTML to RichTextLabel with download image support.

v1.4

16 Aug 21:45
Compare
Choose a tag to compare

Features

  • OAuth2 and OAuth2PKCE refactor.
  • Removes set_urlencoded_body and set_json_body. Now set_body can parse MIME.Type.URL_ENCODED.

v1.3

15 Aug 17:48
Compare
Choose a tag to compare

Features

  • Creates basic HTML documents. See HTMLDocument class.
  • Local OAuth 2.0 support. See HTTPManagerRequest.oauth2() It can still be improved to handle different types of data.

Note: This is the last version that tested on Godot 4.2.

v1.2

13 Aug 16:41
Compare
Choose a tag to compare

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.

v1.1

12 Aug 16:11
Compare
Choose a tag to compare

This version refactors some names to improve the usability of this plugin.

Changes:

  • base_url in HTTPManagerClient instead of host and port.
  • HTTPManager.request handles null request.
  • HTTPManager.fetch to auto-parse the response body with await.
  • MIME class to handle MIMETypes and parse data.
  • Redirect support.

v1.0

20 Jul 17:07
Compare
Choose a tag to compare

Features

  • Client and Route resources to define API endpoints.
  • Queue requests with client constraints: requests per seconds.