You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// You can set the user agent to be used for the request with setUserAgent method
455
+
auto response = httpRequest
456
+
.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")
457
+
.send()
458
+
.get();
459
+
460
+
return 0;
461
+
}
462
+
```
463
+
464
+
441
465
## How can I limit download and upload bandwidth?
442
466
443
467
If you do not want the bandwidth to exceed a certain limit during the download and upload process, you can determine the maximum limit that can be used in Bytes with the setDownloadBandwidthLimit and setUploadBandwidthLimit methods.
@@ -488,14 +512,29 @@ send return the class itself, so they can be added one after the other like a ch
488
512
> All methods and parameters descriptions are also available within the code as comment for IDEs.
0 commit comments