![]() |
TSDuck v3.43-4480
MPEG Transport Stream Toolkit
|
Command line arguments for the class WebRequest. More...
#include <tsWebRequestArgs.h>

Public Member Functions | |
| WebRequestArgs ()=default | |
| Constructor. | |
| void | defineArgs (Args &args) |
| Add command line option definitions in an Args. | |
| bool | loadArgs (Args &args) |
| Load arguments from command line. | |
Public Attributes | |
| cn::milliseconds | connectionTimeout {} |
| --connection-timeout | |
| fs::path | cookiesFile {} |
| Cookies files (Linux only), no command line options. | |
| std::multimap< UString, UString > | headers {} |
| --headers | |
| UString | proxyHost {} |
| --proxy-host | |
| UString | proxyPassword {} |
| --proxy-password | |
| uint16_t | proxyPort = 0 |
| --proxy-port | |
| UString | proxyUser {} |
| --proxy-user | |
| cn::milliseconds | receiveTimeout {} |
| --receive-timeout | |
| bool | useCompression = false |
| --compressed | |
| bool | useCookies = true |
| Use cookies, no command line options, true by default. | |
| UString | userAgent {} |
| --user-agent | |
Command line arguments for the class WebRequest.
| void ts::WebRequestArgs::defineArgs | ( | Args & | args | ) |
Add command line option definitions in an Args.
| [in,out] | args | Command line arguments to update. |
| bool ts::WebRequestArgs::loadArgs | ( | Args & | args | ) |
Load arguments from command line.
Args error indicator is set in case of incorrect arguments.
| [in,out] | args | Command line arguments. |