Skip to content

Releases: logadapp/http

Aliases & Clean ups

Choose a tag to compare

@michaelthedev michaelthedev released this 30 Aug 08:22
bfba5aa

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

Choose a tag to compare

@michaelthedev michaelthedev released this 13 Jul 22:43

Full Changelog: v0.4.1...v0.4.2

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

Choose a tag to compare

@michaelthedev michaelthedev released this 13 Jul 22:34
8be1337

What's Changed

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

v0.4

Choose a tag to compare

@michaelthedev michaelthedev released this 09 Jun 20:22
3453ce6

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

Choose a tag to compare

@michaelthedev michaelthedev released this 01 Jun 06:05

Full Changelog: v0.2...v0.3

Added http class

Choose a tag to compare

@michaelthedev michaelthedev released this 29 May 07:00

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