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

hprose-php貌似没有设置和获取请求头的方法? #83

Open
sowork opened this issue Jun 12, 2018 · 4 comments
Open

hprose-php貌似没有设置和获取请求头的方法? #83

sowork opened this issue Jun 12, 2018 · 4 comments

Comments

@sowork
Copy link

sowork commented Jun 12, 2018

No description provided.

@andot
Copy link
Member

andot commented Jun 13, 2018

你说的是 http 的头吗?可以设置发送给服务器的,不能获取服务器返回的。

@sowork
Copy link
Author

sowork commented Jun 13, 2018

@andot
Copy link
Member

andot commented Jun 13, 2018

因为这不是通用的,只是针对 Http 客户端的,而且日后可能会有所修改,所以没有出现在文档里。Http客户端里有个 setHeader 方法,是用于设置 Http 头的。

@sowork
Copy link
Author

sowork commented Jun 13, 2018

感谢!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants