![]() |
TSDuck v3.45-4777
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 | connection_timeout {} |
| --connection-timeout | |
| fs::path | cookies_file {} |
| Cookies files (Linux only), no command line options. | |
| std::multimap< UString, UString > | headers {} |
| --headers | |
| UString | proxy_host {} |
| --proxy-host | |
| UString | proxy_password {} |
| --proxy-password | |
| uint16_t | proxy_port = 0 |
| --proxy-port | |
| UString | proxy_user {} |
| --proxy-user | |
| cn::milliseconds | receive_timeout {} |
| --receive-timeout | |
| bool | use_compression = false |
| --compressed | |
| bool | use_cookies = true |
| Use cookies, no command line options, true by default. | |
| UString | user_agent {} |
| --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. |