ConnectionSettings
is an option for URLRead and related functions to specify advanced connection settings.
Details
- ConnectionSettings takes an association with the following keys:
-
"MaxDownloadSpeed" Automatic maximum allowed download speed "MaxUploadSpeed" Automatic maximum allowed upload speed - Maximum download and upload speed settings are approximate speed settings.
- Maximum download and upload speeds can be given as Quantity expressions.
- Speeds given as integers are interpreted as bytes per second.
Examples
Basic Examples (3)
Download at 12,500 bytes per second:
Create an APIFunction returning the number of characters in a string:
Deploy the APIFunction to the cloud:
Upload the string to the API at 400 Kbps:
Upload the string to the API at 800 Kbps:
The expected time to upload a 100,000 character string at 800 Kbps is about one second:
Text
Wolfram Research (2019), ConnectionSettings, Wolfram Language function, https://reference.wolfram.com/language/ref/ConnectionSettings.html.
CMS
Wolfram Language. 2019. "ConnectionSettings." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ConnectionSettings.html.
APA
Wolfram Language. (2019). ConnectionSettings. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ConnectionSettings.html