tsNetRetrHeaders

Typefunction
DictionaryLCS
LibraryLiveCode Script
Syntax
tsNetRetrHeaders(<pConnectionID>, <rError>)
Associationstsnet
Summary

Retrieve any returned headers from a transfer.

EditionIndy
Introduced8.1
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Parameters
NameTypeDescription
pConnectionID

The identifier of the transfer to retrieve.

rError

If the connection identifier is invalid or any other error occurs in retrieving the data, an error will be returned that starts with "tsneterr:". Otherwise this will be set to empty.

Example
local tError, tHeaders
put tsNetRetrHeaders("myConnID", tError) into tHeaders
Values
NameTypeDescription
return

The tsNetRetrHeaders returns the headers retrieved from the server during the transfer.

RelatedLibrary: tsNet
Description

Retrieve any returned headers from a transfer.

Tagsexternals