Skip to content

APIClient 0.0.5

Pre-release
Pre-release
Compare
Choose a tag to compare
@kean kean released this 10 Dec 22:08
· 317 commits to main since this release
  • Make Configuration init public - #10, thanks to Theis Egeberg
  • All send methods now return a new Response<T> struct containing not just the response value, but also data, request, response, and status code.
  • Add value(for:) method that returns T – a replacement for the old send method
  • Add data(for:) method returning Response<Data>
  • Add options, head, and trace HTTP methods
  • Method delete to use query instead of body