minetro / cli-http-extension
0.2.0
2016-08-30 10:18 UTC
Requires
- php: >=5.6
- nette/di: ^2.4.0
This package is not auto-updated.
Last update: 2022-02-01 12:46:20 UTC
README
网站 🚀 contributte.org | 联系 👨🏻💻 f3l1x.io | Twitter 🐦 @contributte
免责声明
⚠️ | 此项目不再维护。请使用 contributte/http。 |
---|
Composer | minetro/cli-http-extension |
---|---|
版本 | |
PHP | |
许可证 |
CLI HTTP 扩展用于 Nette。仅提供 CLI 模式下的 URL,它不会覆盖其他模式下的 http.request
。
使用方法
将其放置在您的配置文件中(例如 config.neon)。
最简单的方法
extensions: clihttp: Minetro\Bridges\CliHttpExtension(www.example.com)
扩展方法
extensions: clihttp: Minetro\Bridges\CliHttpExtension clihttp: url: www.example.com # other params query: NULL post: NULL files: NULL cookies: NULL headers: NULL method: NULL remoteAddress: NULL remoteHost: NULL rawBodyCallback: NULL
开发
此包由以下作者维护。
请考虑 支持 contributte 开发团队。也感谢您使用此包。