ConnectionSettings

ConnectionSettings

is an option for URLRead and related functions to specify advanced connection settings.

Details

  • ConnectionSettings takes an association with the following keys:
  • "MaxDownloadSpeed"Automaticmaximum allowed download speed
    "MaxUploadSpeed"Automaticmaximum 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:

Download at 100 Kbps:

Download at twice the speed:

Create an APIFunction returning the number of characters in a string:

Deploy the APIFunction to the cloud:

Get the URL:

Create a long string:

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:

Wolfram Research (2019), ConnectionSettings, Wolfram Language function, https://reference.wolfram.com/language/ref/ConnectionSettings.html.

Text

Wolfram Research (2019), ConnectionSettings, Wolfram Language function, https://reference.wolfram.com/language/ref/ConnectionSettings.html.

BibTeX

@misc{reference.wolfram_2020_connectionsettings, author="Wolfram Research", title="{ConnectionSettings}", year="2019", howpublished="\url{https://reference.wolfram.com/language/ref/ConnectionSettings.html}", note=[Accessed: 18-January-2021 ]}

BibLaTeX

@online{reference.wolfram_2020_connectionsettings, organization={Wolfram Research}, title={ConnectionSettings}, year={2019}, url={https://reference.wolfram.com/language/ref/ConnectionSettings.html}, note=[Accessed: 18-January-2021 ]}

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