PHP Classes

File: src/Traits/AppCallback.php

Recommend this page to a friend!
  Packages of Engin Ypsilon   Curler PHP HTTP Client Library   src/Traits/AppCallback.php  
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
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

You need to be a registered user and login to get this file.

1,618,219 PHP developers registered to the PHP Classes site.
Be One of Us!

Login Immediately with your account on: