Releases: logadapp/http
Releases · logadapp/http
Aliases & Clean ups
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 🎟:
getBodyis nowgetRequestBodyso 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()andtimeout().
So, that's your PR. All done and dusted, ready to make your work smoother and faster. Happy coding! 😊🎉
What's Changed
- Feat aliases and clean up by @michaelthedev in #4
- fix: invalid types and missing arguments by @michaelthedev in #5
Full Changelog: v0.4.2...v0.4.3
Removed rakit\validation dependency
Full Changelog: v0.4.1...v0.4.2
Added `getContent`, `getHeaders`, `getStatus`
What's Changed
- Added
getContent,getHeaders,getStatusmethods by @michaelthedev in #2
Full Changelog: v0.4...v0.4.1
v0.4
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
- @michaelthedev made their first contribution in #1
Full Changelog: v0.3...v0.4
Fix curl header_out parsing
Full Changelog: v0.2...v0.3
Added http class
Full Changelog: v1.1...v0.2