mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-29 14:45:55 +08:00
完成http相关接口
This commit is contained in:
parent
949640d493
commit
6d8bdefa31
@ -233,12 +233,15 @@ public:
|
||||
void setBody(const HttpBody::Ptr &body){
|
||||
_body = body;
|
||||
}
|
||||
const string &responseStatus(){
|
||||
const string &responseStatus() const{
|
||||
return _parser.Url();
|
||||
}
|
||||
const HttpHeader &responseHeader(){
|
||||
const HttpHeader &responseHeader() const{
|
||||
return _parser.getValues();
|
||||
}
|
||||
const Parser& response() const{
|
||||
return _parser;
|
||||
}
|
||||
protected:
|
||||
/**
|
||||
* 收到http回复头
|
||||
|
Loading…
Reference in New Issue
Block a user