Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface to map client's REST call response

export
interface

IRestClientResponse

Hierarchy

  • IRestClientResponse

Index

Properties

Optional data

data: Buffer

Http(s) response body as a buffer

memberof

IRestClientResponse

Optional dataString

dataString: string

Http(s) response body as a string

memberof

IRestClientResponse

Optional log

log: Logger

Logger object

memberof

IRestClientResponse

Optional requestFailure

requestFailure: boolean

Status whether or not a REST request was successful by HTTP status code Reverse of requestSuccess

memberof

IRestClientResponse

Optional requestSuccess

requestSuccess: boolean

Status whether or not a REST request was successful by HTTP status code

memberof

IRestClientResponse

Optional response

response: any

Http(s) response object

memberof

IRestClientResponse

Optional session

session: Session

Session object

memberof

IRestClientResponse

Generated using TypeDoc