Swlib Saber Versions Save

⚔️ Saber, PHP异步协程HTTP客户端 | PHP Coroutine HTTP client - Swoole Humanization Library

v1.0.7

4 years ago
  • Fix Swoole\Buffer deprecated

v1.0.6

5 years ago
  • Fixed retry handler and add some tests (#19 via 5cd1134)

v1.0.5

5 years ago
  • Improve redirect test
  • Fixed cross-site redirect BUG (#16)

v1.0.4

5 years ago
  • Adapt the URI which is like localhost, automatically complete the protocol part of this kind of URI

v1.0.3

5 years ago
  • Improve Swoole compatibility.

v1.0.2

5 years ago
  • PHPUNIT支持运行单个测试
  • 修复手动设置Host标头无法覆盖的问题
  • 修复错误的错误码判断

v1.0.1

5 years ago
  • 单元测试适配Swoole 4
  • 修复use_pool为数字时, 使用base_uri报错的问题

v1.0.0

5 years ago

First stable release.

v1.0.0-rc.2

5 years ago
  • Improve some codes.
  • Update dependencies.

v1.0.0-rc.1

5 years ago

Saber[v1.0.0-rc.1]

建议使用Swoole4最新版驱动以获得最强性能和最大稳定性

  • 基于Swoole协程Client开发
  • 人性化使用风格, ajax.js/axios.js/requests.py用户福音, 同时支持PSR风格操作
  • 浏览器级别完备的Cookie管理机制, 完美适配爬虫/API代理应用
  • 请求/响应/异常拦截器
  • 多请求并发, 并发重定向优化
  • 连接池, 自动化复用长连接
  • 通道池(Chan): 最大连接数限制+无阻塞
  • HTTPS连接, CA证书自动化支持
  • HTTP/Socks5 Proxy支持
  • WebSocket连接支持
  • 毫秒级超时定时器
  • 自动化 编码请求/解析响应 数据
  • 响应报文自动编码转换
  • 异步超大文件上传/下载, 断点重传
  • 自动重试机制
  • 单次并发数控制
  • 多模式/超细粒度异常处理机制