Skip to content

Added new classes and refactored parameter handling.

Compare
Choose a tag to compare
@D1g1talEntr0py D1g1talEntr0py released this 15 Sep 16:45
· 6 commits to main since this release

Added new classes and refactored parameter handling.

  • Added custom AbortSignal class to allow for aborting requests directly from the signal via a method or timeout.
  • Created a constants file to hold static data. Will be adding more to this file as needed.
  • Added 'JSON_MERGE_PATCH' to the 'HttpMediaType' constant.
  • Created a 'ParameterMap' class to allow for easier aggregation of parameters.
  • Removed 'SignalController' class and replaced it with the 'AbortSignal' class.
  • Refactored how requests are handled to improve parameter handling and readability. Also added a Proxy to the options and trap for the 'signal' property to allow the timer to start when the signal is accessed in the request.
  • Added additional unit tests.
  • Updated project dependencies.