We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57a3fb7 commit 2682aecCopy full SHA for 2682aec
examples/main.cpp
@@ -206,7 +206,7 @@ void setUserAgent()
206
{
207
HttpRequest httpRequest("https://httpbun.com/get");
208
209
- // You can set the TLS version to be used for the request with setTLSVersion method
+ // You can set the user agent to be used for the request with setUserAgent method
210
auto response = httpRequest
211
.setUserAgent("Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 Edg/124.0.0.0")
212
.send()
0 commit comments