Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches

HTTP header information
The class used to access HTTP header information and get his information. More...

Topics

 Value Help
 

Classes

class  kodi::vfs::HttpHeader
 

Functions

std::string kodi::vfs::HttpHeader::GetValue (const std::string &param) const
 Get the value associated with this parameter of these HTTP headers.
 
std::vector< std::string > kodi::vfs::HttpHeader::GetValues (const std::string &param) const
 Get the values as list associated with this parameter of these HTTP headers.
 
std::string kodi::vfs::HttpHeader::GetHeader () const
 Get the full header string associated with these HTTP headers.
 
std::string kodi::vfs::HttpHeader::GetMimeType () const
 Get the mime type associated with these HTTP headers.
 
std::string kodi::vfs::HttpHeader::GetCharset () const
 Get the charset associated with these HTTP headers.
 
std::string kodi::vfs::HttpHeader::GetProtoLine () const
 The protocol line associated with these HTTP headers.
 

Detailed Description

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

Function Documentation

◆ 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]paramThe 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]paramThe name of the parameter values are required for
Returns
The values found