Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace StaticTextHttpResponseBody

Allows returning static text as HTTP response body. Example: { "type": "STATIC_TEXT", "text": "{
\"code\": 403,
\"message\":\"Unauthorised\"
}" }

Properties

text

text: string

Static response body text.

Const type

type: string = "STATIC_TEXT"

Methods

getDeserializedJsonObj

getJsonObj