Skip to main content

tsNetLibUrlReuseConnection

Type​

command

Summary​

Enable or disable connection re-use when using tsNet with libUrl.

Syntax​

tsNetLibUrlReuseConnection <pEnable>

Description​

By default tsNet will not disconnect from a server after making a network request to enable future requests to re-use the same connection. Set this to false to ensure that tsNet always opens a new connection to the server.

Parameters​

NameTypeDescription

pEnable

Set to either true or false. The default value is true.

Examples​

tsNetLibUrlReuseConnection false

library: tsNet

Compatibility and Support​

Introduced

LiveCode 8.1

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?