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)