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
456
+
auto response = httpRequest
457
+
.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")
458
+
.send()
459
+
.get();
460
+
461
+
return 0;
462
+
}
463
+
```
464
+
465
+
441
466
## How can I limit download and upload bandwidth?
442
467
443
468
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 +513,29 @@ send return the class itself, so they can be added one after the other like a ch
488
513
> All methods and parameters descriptions are also available within the code as comment for IDEs.
0 commit comments