Skip to content

Releases: logadapp/http

Aliases & Clean ups

30 Aug 08:22
bfba5aa

Choose a tag to compare

Release Summary 📝

Say 'bye-bye' to hassle and 'hello' to simplicity as we upgraded a few things:

  • **Changes to Http.php:**🌐
    • SetBody is now bilingual 🤓: It can now understand both Strings and Arrays. If you use an array, it will be promptly turned into JSON!
    • Meet the new names in town 🎟: getBody is now getRequestBody so it's crystal clear what it's getting. And we have handy shorter granular methods 'body()', 'headers()', and 'status()' as aliases for getting response body, headers, and response code respectively.
    • Welcoming the rookies 🎉: Say hi to getResponseHeaders(), getResponseBody(), getResponseCode() - all dedicated to bringing you response headers, body and code respectively. And there's more! Two new methods for managing timeout - getTimeout() and timeout().

So, that's your PR. All done and dusted, ready to make your work smoother and faster. Happy coding! 😊🎉

What's Changed

Full Changelog: v0.4.2...v0.4.3

Removed rakit\validation dependency

13 Jul 22:43

Choose a tag to compare

Added `getContent`, `getHeaders`, `getStatus`

13 Jul 22:34
8be1337

Choose a tag to compare

What's Changed

Full Changelog: v0.4...v0.4.1

v0.4

09 Jun 20:22
3453ce6

Choose a tag to compare

What's Changed 🥳

SSL Certificate Ignoring Added

  • Added a handy new feature to the Http class, allowing you to temporarily ignore SSL certificate verification 😊

Constructor Update

  • We made the constructor method even better, setting up the object's properties more efficiently 🌟

Chaining Friendly Method

  • We added a new public method, ignoreSsl(), to make working with SSL certificates even easier. And guess what? It's chainable! 🚀

New Contributors

Full Changelog: v0.3...v0.4

Fix curl header_out parsing

01 Jun 06:05

Choose a tag to compare

Added http class

29 May 07:00

Choose a tag to compare

Full Changelog: v1.1...v0.2