Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages

CURL message types
Used on kodi::vfs::CFile::CURLAddOption(). More...

Typedefs

typedef enum CURLOptiontype CURLOptiontype
 

Enumerations

enum  CURLOptiontype { ADDON_CURL_OPTION_OPTION , ADDON_CURL_OPTION_PROTOCOL , ADDON_CURL_OPTION_CREDENTIALS , ADDON_CURL_OPTION_HEADER }
 

Detailed Description

CURL message types
Used on kodi::vfs::CFile::CURLAddOption().

Typedef Documentation

◆ CURLOptiontype

Enumeration Type Documentation

◆ CURLOptiontype

Enumerator
ADDON_CURL_OPTION_OPTION 

Set a general option.

ADDON_CURL_OPTION_PROTOCOL 

Set a protocol option.
.


The following names for ADDON_CURL_OPTION_PROTOCOL are possible:

Option name Description
accept-charset Set the "accept-charset" header
acceptencoding or encoding Set the "accept-encoding" header
active-remote Set the "active-remote" header
auth Set the authentication method. Possible values: any, anysafe, digest, ntlm
connection-timeout Set the connection timeout in seconds
cookie Set the "cookie" header
customrequest Set a custom HTTP request like DELETE
noshout Set to true if kodi detects a stream as shoutcast by mistake.
postdata Set the post body (value needs to be base64 encoded). (Implicitly sets the request to POST)
referer Set the "referer" header
user-agent Set the "user-agent" header
seekable Set the stream seekable. 1: enable, 0: disable
sslcipherlist Set list of accepted SSL ciphers.
verifypeer Set to false if curl must skip checking the authenticity of the SSL CA certificate.
ADDON_CURL_OPTION_CREDENTIALS 

Set User and password.

ADDON_CURL_OPTION_HEADER 

Add a Header.