minetro/cli-http-extension

此包已被废弃,不再维护。作者建议使用 contributte/http 包。

Nette 的 CLI HTTP 扩展

0.2.0 2016-08-30 10:18 UTC

This package is not auto-updated.

Last update: 2022-02-01 12:46:20 UTC


README

68747470733a2f2f62616467656e2e6e65742f62616467652f737570706f72742f6769747465722f6379616e 68747470733a2f2f62616467656e2e6e65742f62616467652f737570706f72742f666f72756d2f79656c6c6f77 68747470733a2f2f62616467656e2e6e65742f62616467652f73706f6e736f722f646f6e6174696f6e732f463936383534

网站 🚀 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

开发

此包由以下作者维护。

538058?v=3&s=80

请考虑 支持 contributte 开发团队。也感谢您使用此包。