Breakroom is now Sinewave Campus. Book a meeting

SWebResponse

العميلالأنواع
في هذا الصنفError
  1. الخصائص
  2. Error
  3. Response
الأعضاء 2
خاصيةErrorAny error, will be empty or null if the request was successful
خاصيةResponseThe body text of the webpage response if error is empty or null

الخصائص​

Errorللقراءة فقط​

string Error {get; }

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

مثال

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

Responseللقراءة فقط​

string Response {get; }

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

مثال

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