WOLFRAM

ConnectionSettings
ConnectionSettings

[Experimental]

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)Summary of the most common use cases

Download at 12,500 bytes per second:

Out[1]=1

Download at 100 Kbps:

Out[1]=1

Download at twice the speed:

Out[2]=2

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

Out[1]=1

Deploy the APIFunction to the cloud:

Out[2]=2

Get the URL:

Out[3]=3

Create a long string:

Out[4]=4

Upload the string to the API at 400 Kbps:

Out[5]=5

Upload the string to the API at 800 Kbps:

Out[6]=6

The expected time to upload a 100,000 character string at 800 Kbps is about one second:

Out[7]=7
Wolfram Research (2019), ConnectionSettings, Wolfram Language function, https://reference.wolfram.com/language/ref/ConnectionSettings.html.
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.

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.

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

Wolfram Language. (2019). ConnectionSettings. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ConnectionSettings.html

BibTeX

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

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

BibLaTeX

@online{reference.wolfram_2025_connectionsettings, organization={Wolfram Research}, title={ConnectionSettings}, year={2019}, url={https://reference.wolfram.com/language/ref/ConnectionSettings.html}, note=[Accessed: 29-March-2025 ]}

@online{reference.wolfram_2025_connectionsettings, organization={Wolfram Research}, title={ConnectionSettings}, year={2019}, url={https://reference.wolfram.com/language/ref/ConnectionSettings.html}, note=[Accessed: 29-March-2025 ]}