| File: |
src/Traits/AppCallback.php |
| Role: |
Class source |
| Content type: |
text/plain |
| Description: |
Class source |
| Class: |
Curler PHP HTTP Client Library
Send HTTP requests setup using a fluent interface |
| Author: |
By Engin Ypsilon |
| Last change: |
## [2.0.0] - 2026-07-22
### Added
- HTTP QUERY Method (RFC 9204) support
- Response Pipeline with callbacks and validation
- Full type-safety with PHP 8 types
- Meta-information for each request
- Retry logic with configurable attempts
- HTTP/2 default
### Changed
- Response objects instead of arrays
- `callback()` → `through()` for pipeline
- `readableBytes()` → `formatBytes()`
- `getCurlTrace()` → `getHistory()`
### Deprecated
- Old callback system (use pipeline instead)
- `postFields()` → `withForm()` or `withJson()`
|
| Date: |
8 hours ago |
| Size: |
11,438 bytes |
|
|
|