Breakroom is now Sinewave Campus. Book a meeting

SWebResponse

ClientTypes
Dans cette classeError
  1. Propriétés
  2. Error
  3. Response
Membres 2
PropriétéErrorAny error, will be empty or null if the request was successful
PropriétéResponseThe body text of the webpage response if error is empty or null

Propriétés​

ErrorLecture seule​

string Error {get; }

Any error, will be empty or null if the request was successful

Exemple

Lua
function ResponseFunction(responseData)
stringError = responseData.Error
end
Space.WebServices.Get('aURL', ResponseFunction)

ResponseLecture seule​

string Response {get; }

The body text of the webpage response if error is empty or null

Exemple

Lua
function ResponseFunction(responseData)
stringResponse = responseData.Response
end
Space.WebServices.Get('aURL', ResponseFunction)