Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4.0] Http 模块 #678

Closed
overtrue opened this issue May 1, 2017 · 0 comments
Closed

[4.0] Http 模块 #678

overtrue opened this issue May 1, 2017 · 0 comments
Labels
Milestone

Comments

@overtrue
Copy link
Collaborator

overtrue commented May 1, 2017

创建 http 模块,全局通用,初步设计如下:

Http\Request

继承 guzzle 的 request,封装每次都微信接口请求的信息,可产生日志。

Http\Response

继承自 guzzle 的 response,添加 toJson(), toArray(), toCollection() 方法,同时实现 ArrayAccess 接口

Http\StreamResponse

继承自 Http\Response, 添加 save($dist)saveAs($dist, $filename) 方法

其它...

@overtrue overtrue added this to the 4.0 milestone May 1, 2017
@overtrue overtrue closed this as completed Jul 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant