Class APIResponse

Wrapper for HTTP REST Responses.

Inherits from

  • Object (base class)

Constructors

Name Description
this

Fields

Name Type Description
content string

Properties

Name Type Description
contentType [get] string
fastJSON [get] fast.json.Json!(0,false)
statusCode [get] int
vibeJSON [get] vibe.data.json.Json

Methods

Name Description
header
ok Raises an APIError exception if the request failed.