![]() |
TSDuck v3.36-3298
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 (DuckContext &duck, Args &args) |
Load arguments from command line. | |
Public Attributes | |
MilliSecond | connectionTimeout {0} |
--connection-timeout | |
UString | cookiesFile {} |
Cookies files (Linux only), no command line options. | |
UString | proxyHost {} |
--proxy-host | |
UString | proxyPassword {} |
--proxy-password | |
uint16_t | proxyPort {0} |
--proxy-port | |
UString | proxyUser {} |
--proxy-user | |
MilliSecond | receiveTimeout {0} |
--receive-timeout | |
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 | ( | DuckContext & | duck, |
Args & | args | ||
) |
Load arguments from command line.
Args error indicator is set in case of incorrect arguments.
[in,out] | duck | TSDuck execution context. |
[in,out] | args | Command line arguments. |