Suite.js Documentation

Introduction


Getting Started

• Downloading & Installing
• Running
Examples


Technical Support


Functions

Cryptography
• hashSHA256
• hmacSHA256
• hashSHA512
• hmacSHA512
• hashMD5
• hmacMD5

File System
fileExists
fileRead
fileWrite
folderExists
unzip
zip

Input / Output
beep
prompt
write
writeln

Networking
curlExecute
• nsapiExecute

Operating System
shellExecute

Text Encoding
base64Decode
base64Encode


Advanced Topics

curl Properties

The Suite.js curlExecute function is powered by the libcurl library, and was implemented in Suite.js using Monkeybread Software's MBS CURL Xojo plugin. Specifically, the Suite.JS curlExecute function uses that plugin's CURLS class.

curlExecute has been designed to expose as much of the underlying libcurl library as possible. As a result, curlExecute supports a very wide range of options. The complete list of options that are supported is shown below.

For details about a specific function, refer to the CURLSMBS class as documented here. Specifically, refer to the properties of the class.

Property Name Type Default Readable Writable
APILoadedBooleantruetruefalse
CancelBooleanfalsetruetrue
CollectDebugDataBooleanfalsetruetrue
CollectDebugMessagesBooleanfalsetruetrue
CollectHeaderDataBooleanfalsetruetrue
CollectHeadersBooleanfalsetruetrue
CollectOutputDataBooleanfalsetruetrue
DebugDataStringtruefalse
DebugMessagesStringtruefalse
DebugWithDataBooleanfalsetruetrue
HandleInt645024871424truetrue
HeaderDataStringtruefalse
HeadersStringtruefalse
InputDataStringtruetrue
LastErrorInt640truetrue
LastErrorTextStringtruetrue
LasterrorMessageStringtruefalse
LibVersionStringlibcurl/8.12.1 OpenSSL/3.3.3 (SecureTransport) zlib/1.3.1 zstd/1.5.2 AppleIDN libssh2/1.11.1truefalse
LibraryUsedStringInternal with OpenSSLtruefalse
OptionAWSSigV4Stringtruetrue
OptionAbstractUnixSocketStringtruetrue
OptionAcceptEncodingStringtruetrue
OptionAcceptTimeoutMSInt640truetrue
OptionAddressScopeInt640truetrue
OptionAppendBooleanfalsetruetrue
OptionAutoRefererBooleanfalsetruetrue
OptionBufferSizeInt640truetrue
OptionCACacheTimeoutInt640truetrue
OptionCAInfoStringtruetrue
OptionCAInfoBlobStringtruetrue
OptionCAPathStringtruetrue
OptionCRLFBooleanfalsetruetrue
OptionCRLFileStringtruetrue
OptionCertInfoBooleanfalsetruetrue
OptionConnectOnlyInt640truetrue
OptionConnectionTimeOutMSInt640truetrue
OptionConnectionTimeoutInt6410truetrue
OptionCookieStringtruetrue
OptionCookieFileStringtruetrue
OptionCookieJarStringtruetrue
OptionCookieListStringtruetrue
OptionCookieSessionBooleanfalsetruetrue
OptionCustomRequestStringGETtruetrue
OptionDNSCacheTimeoutInt6460truetrue
OptionDNSInterfaceStringtruetrue
OptionDNSLocalIPv4Stringtruetrue
OptionDNSLocalIPv6Stringtruetrue
OptionDNSServersStringtruetrue
OptionDNSShuffleAddressesBooleanfalsetruetrue
OptionDOHSSLVerifyHostInt642truetrue
OptionDOHSSLVerifyPeerInt641truetrue
OptionDOHSSLVerifyStatusInt640truetrue
OptionDOHURLStringtruetrue
OptionDefaultProtocolStringtruetrue
OptionDirListOnlyBooleanfalsetruetrue
OptionDisableUserNameInURLBooleanfalsetruetrue
OptionEGDSocketStringtruetrue
OptionExpect100TimeoutMSInt641000truetrue
OptionFTPAccountStringtruetrue
OptionFTPAlternativeToUserStringtruetrue
OptionFTPAppendBooleanfalsetruetrue
OptionFTPCreateMissingDirsInt640truetrue
OptionFTPFileMethodInt641truetrue
OptionFTPListOnlyBooleanfalsetruetrue
OptionFTPPortStringtruetrue
OptionFTPResponseTimeoutInt640truetrue
OptionFTPSSLInt640truetrue
OptionFTPSSLAuthInt640truetrue
OptionFTPSSLCCCInt640truetrue
OptionFTPSkipPasvIPBooleanfalsetruetrue
OptionFTPUseEPRTBooleantruetruetrue
OptionFTPUseEPSVBooleantruetruetrue
OptionFTPusePretBooleanfalsetruetrue
OptionFailOnErrorBooleanfalsetruetrue
OptionFileTimeBooleanfalsetruetrue
OptionFollowLocationBooleanfalsetruetrue
OptionForbidReuseBooleanfalsetruetrue
OptionFreshConnectBooleanfalsetruetrue
OptionGSSAPIDelegationInt640truetrue
OptionGetBooleanfalsetruetrue
OptionHAProxyProtocolBooleanfalsetruetrue
OptionHTTPAuthInt641truetrue
OptionHTTPContentDecodingInt641truetrue
OptionHTTPProxyTunnelBooleanfalsetruetrue
OptionHTTPTransferDecodingInt641truetrue
OptionHTTPVersionInt642truetrue
OptionHappyEyeballsTimeOutMSInt64200truetrue
OptionHeaderBooleanfalsetruetrue
OptionHeaderOptionsInt640truetrue
OptionIPResolveInt640truetrue
OptionIgnoreContentLengthBooleanfalsetruetrue
OptionInFileSizeInt640truetrue
OptionInFileSizeLargeInt640truetrue
OptionInterfaceStringtruetrue
OptionIssuerCertStringtruetrue
OptionIssuerCertBlobStringtruetrue
OptionKRB4LevelStringtruetrue
OptionKRBLevelStringtruetrue
OptionKeepSendingOnErrorInt640truetrue
OptionKeyPasswordStringtruetrue
OptionLocalPortInt640truetrue
OptionLocalPortRangeInt640truetrue
OptionLoginOptionsStringtruetrue
OptionLowSpeedLimitInt640truetrue
OptionLowSpeedTimeInt640truetrue
OptionMailAuthStringtruetrue
OptionMailFromStringtruetrue
OptionMaxAgeConnInt64118truetrue
OptionMaxConnectsInt640truetrue
OptionMaxFileSizeInt640truetrue
OptionMaxFileSizeLargeInt640truetrue
OptionMaxLifeTimeConnectionInt640truetrue
OptionMaxRecvSpeedInt640truetrue
OptionMaxRecvSpeedLargeInt640truetrue
OptionMaxRedirsInt640truetrue
OptionMaxSendSpeedInt640truetrue
OptionMaxSendSpeedLargeInt640truetrue
OptionMimeOptionsInt640truetrue
OptionNetRCInt640truetrue
OptionNetRCFileStringtruetrue
OptionNewDirectoryPermsInt64493truetrue
OptionNewFilePermsInt64420truetrue
OptionNoBodyBooleanfalsetruetrue
OptionNoProxyStringtruetrue
OptionNoSignalInt641truetrue
OptionPasswordStringtruetrue
OptionPathAsIsBooleanfalsetruetrue
OptionPinnedPublicKeyStringtruetrue
OptionPipeWaitBooleanfalsetruetrue
OptionPortInt640truetrue
OptionPostBooleanfalsetruetrue
OptionPostFieldSizeInt640truetrue
OptionPostFieldSizeLargeInt640truetrue
OptionPostFieldsStringtruetrue
OptionPostRedirInt640truetrue
OptionPreProxyStringtruetrue
OptionProtocolsInt640truetrue
OptionProtocolsStringStringtruetrue
OptionProxyStringtruetrue
OptionProxyAuthInt641truetrue
OptionProxyCAInfoStringtruetrue
OptionProxyCAInfoBlobStringtruetrue
OptionProxyCAPathStringtruetrue
OptionProxyCRLFileStringtruetrue
OptionProxyIssuerCertStringtruetrue
OptionProxyIssuerCertBlobStringtruetrue
OptionProxyKeyPasswordStringtruetrue
OptionProxyPasswordStringtruetrue
OptionProxyPinnedPublicKeyStringtruetrue
OptionProxyPortInt640truetrue
OptionProxySSLCertStringtruetrue
OptionProxySSLCertBlobStringtruetrue
OptionProxySSLCertTypeStringtruetrue
OptionProxySSLCipherListStringtruetrue
OptionProxySSLKeyStringtruetrue
OptionProxySSLKeyBlobStringtruetrue
OptionProxySSLKeyTypeStringtruetrue
OptionProxySSLOptionsInt640truetrue
OptionProxySSLVerifyHostInt640truetrue
OptionProxySSLVerifyPeerInt640truetrue
OptionProxySSLVersionInt640truetrue
OptionProxyServiceNameStringtruetrue
OptionProxyTLS13CiphersStringtruetrue
OptionProxyTLSAuthPasswordStringtruetrue
OptionProxyTLSAuthTypeStringtruetrue
OptionProxyTLSAuthUsernameStringtruetrue
OptionProxyTransferModeInt640truetrue
OptionProxyTypeInt640truetrue
OptionProxyUsernameStringtruetrue
OptionPutBooleanfalsetruetrue
OptionQuickExitInt640truetrue
OptionRTSPClientCSEQInt640truetrue
OptionRTSPRequestInt641truetrue
OptionRTSPServerCSEQInt640truetrue
OptionRTSPSessionIDStringtruetrue
OptionRTSPStreamURIStringtruetrue
OptionRTSPTransportStringtruetrue
OptionRandomFileStringtruetrue
OptionRangeStringtruetrue
OptionRedirProtocolsInt6415truetrue
OptionReditProtocolsStringStringtruetrue
OptionRefererStringtruetrue
OptionRequestTargetStringtruetrue
OptionResumeFromInt640truetrue
OptionResumeFromLargeInt640truetrue
OptionSASLAuthZIDStringtruetrue
OptionSASLIRInt640truetrue
OptionSSHAuthTypesInt64-1truetrue
OptionSSHCompressionBooleanfalsetruetrue
OptionSSHHostPublicKeyMD5Stringtruetrue
OptionSSHHostPublicKeySHA256Stringtruetrue
OptionSSHKnownhostsStringtruetrue
OptionSSHPrivateKeyfileStringtruetrue
OptionSSHPublicKeyfileStringtruetrue
OptionSSLCertStringtruetrue
OptionSSLCertBlobStringtruetrue
OptionSSLCertPasswordStringtruetrue
OptionSSLCertTypeStringtruetrue
OptionSSLCipherListStringtruetrue
OptionSSLEnableALPNInt641truetrue
OptionSSLEnableNPNInt640truetrue
OptionSSLEngineStringtruetrue
OptionSSLEngineDefaultInt640truetrue
OptionSSLFalseStartInt640truetrue
OptionSSLKeyStringtruetrue
OptionSSLKeyBlobStringtruetrue
OptionSSLKeyPasswordStringtruetrue
OptionSSLKeyTypeStringtruetrue
OptionSSLOptionsInt640truetrue
OptionSSLSessionIDCacheBooleanfalsetruetrue
OptionSSLVerifyHostInt64-1truetrue
OptionSSLVerifyPeerInt64-1truetrue
OptionSSLVerifyStatusInt640truetrue
OptionSSLVersionInt640truetrue
OptionServerResponseTimeoutInt640truetrue
OptionServiceNameStringtruetrue
OptionSocks5AuthInt645truetrue
OptionSocks5GSSAPINECBooleanfalsetruetrue
OptionSocks5GSSAPIServiceStringtruetrue
OptionStreamDependsCURLSMBSnulltruetrue
OptionStreamDependsECURLSMBSnulltruetrue
OptionStreamWeightInt640truetrue
OptionSuppressConnectHeadersBooleanfalsetruetrue
OptionTCPFastOpenInt640truetrue
OptionTCPKeepAliveBooleanfalsetruetrue
OptionTCPKeepIdleInt6460truetrue
OptionTCPKeepIntervalInt6460truetrue
OptionTCPNoDelayBooleantruetruetrue
OptionTFTPBlockSizeInt640truetrue
OptionTFTPNoOptionsInt640truetrue
OptionTLS13CiphersStringtruetrue
OptionTLSAuthPasswordStringtruetrue
OptionTLSAuthTypeStringtruetrue
OptionTLSAuthUsernameStringtruetrue
OptionTimeConditionInt640truetrue
OptionTimeOutInt640truetrue
OptionTimeOutMSInt640truetrue
OptionTimeValueInt640truetrue
OptionTransferEncodingBooleanfalsetruetrue
OptionTransferTextBooleanfalsetruetrue
OptionURLStringhttps://swapi.dev/api/films/1/truetrue
OptionUnixSocketPathStringtruetrue
OptionUnrestrictedAuthBooleanfalsetruetrue
OptionUpkeepIntervalMSInt6460000truetrue
OptionUploadBooleanfalsetruetrue
OptionUploadBufferSizeInt640truetrue
OptionUseSSLInt640truetrue
OptionUserAgentStringtruetrue
OptionUsernameStringtruetrue
OptionVerboseBooleantruetruetrue
OptionWildcardMatchBooleanfalsetruetrue
OptionXOAuth2BearerStringtruetrue
OutputDataStringtruefalse
PausedBooleanfalsetruetrue
ProgressDownloadCurrentInt640truefalse
ProgressDownloadTotalInt640truefalse
ProgressPercentDouble0truefalse
ProgressUploadCurrentInt640truefalse
ProgressUploadTotalInt640truefalse
TagVariantnulltruetrue
WebSocketOptionsInt640truetrue
YieldTimeBooleantruetruetrue

© Copyright 2025 Tim Dietrich. | Legal Info