HTTP header information
The class used to access HTTP header information and get his information.
More...
HTTP header information
The class used to access HTTP header information and get his information.
Used on kodi::vfs::GetHttpHeader().
The following table contains values that can be get with class HttpHeader :
Description | Type | Get call |
Get the value associated with this parameter of these HTTP headers | std::string | GetValue |
Get the values as list associated with this parameter of these HTTP headers | std::vector<std::string> | GetValues |
Get the full header string associated with these HTTP headers | std::string | GetHeader |
Get the mime type associated with these HTTP headers | std::string | GetMimeType |
Get the charset associated with these HTTP headers | std::string | GetCharset |
The protocol line associated with these HTTP headers | std::string | GetProtoLine |
◆ GetCharset()
std::string kodi::vfs::HttpHeader::GetCharset |
( |
| ) |
const |
|
inline |
Get the charset associated with these HTTP headers.
- Returns
- The charset
◆ GetHeader()
std::string kodi::vfs::HttpHeader::GetHeader |
( |
| ) |
const |
|
inline |
Get the full header string associated with these HTTP headers.
- Returns
- The header as a string
◆ GetMimeType()
std::string kodi::vfs::HttpHeader::GetMimeType |
( |
| ) |
const |
|
inline |
Get the mime type associated with these HTTP headers.
- Returns
- The mime type
◆ GetProtoLine()
std::string kodi::vfs::HttpHeader::GetProtoLine |
( |
| ) |
const |
|
inline |
The protocol line associated with these HTTP headers.
- Returns
- The protocol line
◆ GetValue()
std::string kodi::vfs::HttpHeader::GetValue |
( |
const std::string & | param | ) |
const |
|
inline |
Get the value associated with this parameter of these HTTP headers.
- Parameters
-
[in] | param | The name of the parameter a value is required for |
- Returns
- The value found
◆ GetValues()
std::vector< std::string > kodi::vfs::HttpHeader::GetValues |
( |
const std::string & | param | ) |
const |
|
inline |
Get the values as list associated with this parameter of these HTTP headers.
- Parameters
-
[in] | param | The name of the parameter values are required for |
- Returns
- The values found