We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
创建 http 模块,全局通用,初步设计如下:
Http\Request
继承 guzzle 的 request,封装每次都微信接口请求的信息,可产生日志。
Http\Response
继承自 guzzle 的 response,添加 toJson(), toArray(), toCollection() 方法,同时实现 ArrayAccess 接口
toJson()
toArray()
toCollection()
ArrayAccess
Http\StreamResponse
继承自 Http\Response, 添加 save($dist) 与 saveAs($dist, $filename) 方法
save($dist)
saveAs($dist, $filename)
其它...
The text was updated successfully, but these errors were encountered:
No branches or pull requests
创建 http 模块,全局通用,初步设计如下:
Http\Request
继承 guzzle 的 request,封装每次都微信接口请求的信息,可产生日志。
Http\Response
继承自 guzzle 的 response,添加
toJson()
,toArray()
,toCollection()
方法,同时实现ArrayAccess
接口Http\StreamResponse
继承自 Http\Response, 添加
save($dist)
与saveAs($dist, $filename)
方法其它...
The text was updated successfully, but these errors were encountered: