|
Liblinphone 5.3.0
|
Object representing a chain of protocol headers. More...
#include <headers.hh>
Public Member Functions | |
| LINPHONECXX_PUBLIC | Headers (void *ptr, bool takeRef=true) |
| LINPHONECXX_PUBLIC _LinphoneHeaders * | cPtr () |
| LINPHONECXX_PUBLIC void | add (const std::string &name, const std::string &value) |
| Add given header name and corresponding value. | |
| LINPHONECXX_PUBLIC std::string | getValue (const std::string &headerName) |
| Search for a given header name and return its value. | |
| LINPHONECXX_PUBLIC void | remove (const std::string &name) |
| Add given header name and corresponding value. | |
Object representing a chain of protocol headers.
It provides read/write access to the headers of the underlying protocol.
| LINPHONECXX_PUBLIC void linphone::Headers::add | ( | const std::string & | name, |
| const std::string & | value ) |
Add given header name and corresponding value.
| name | the header's name |
| value | the header's value |
| LINPHONECXX_PUBLIC std::string linphone::Headers::getValue | ( | const std::string & | headerName | ) |
Search for a given header name and return its value.
| headerName | the header's name |
| LINPHONECXX_PUBLIC void linphone::Headers::remove | ( | const std::string & | name | ) |
Add given header name and corresponding value.
| name | the header's name |