CURLOPT_USERAGENT
CURLOPT_USERAGENT is a named option value in the curl Options group.
Target
Signature
1CURLOPT_USERAGENTCURLOPT_USERAGENT is a named option value in the curl Options group.
CURLOPT_USERAGENT is part of this LaiRu reference group. CURLOPT_USERAGENT performs network or protocol work. Make timeouts, encodings, and authentication settings visible in calling code so failures are easier to diagnose.
Examples
Basic call
1CURLOPT_USERAGENTUse this value as an option to the call that accepts the corresponding constant group.