Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CallConfig

Hierarchy

Implements

Index

Constructors

constructor

Properties

allowHTTPErrors

allowHTTPErrors: boolean | IAllowErrorFunc

assertFuncArr

assertFuncArr: Array<IAssertFunc>

baseURL

baseURL: IDataFunc | string

beforeFuncArr

beforeFuncArr: Array<IBeforeFunc>

checkRequestSchema

checkRequestSchema: boolean

checkRequestSchemaFunc

checkRequestSchemaFunc: ISchemaFunc

checkResponseSchema

checkResponseSchema: boolean

checkResponseSchemaFunc

checkResponseSchemaFunc: ISchemaFunc

dataArr

dataArr: Array<IDataFunc | any>

dataDeSerialisationFunc

dataDeSerialisationFunc: IDeSerialiseFunc

dataSerialisationFunc

dataSerialisationFunc: ISerialiseFunc

endPoint

endPoint: IDataFunc | string

headers

headers: any

Optional headersArr

headersArr: Array<IDataFunc | any>

method

method: string

obfuscateRequestBodyArr

obfuscateRequestBodyArr: IObfuscateFunc[]

obfuscateRequestHeadersArr

obfuscateRequestHeadersArr: IObfuscateFunc[]

obfuscateResponseBodyArr

obfuscateResponseBodyArr: IObfuscateFunc[]

obfuscateResponseHeadersArr

obfuscateResponseHeadersArr: IObfuscateFunc[]

requestCallback

requestCallback: IRequestCallbackHook

requestOptions

requestOptions: CoreOptions

testModifier

testModifier: string

testName

testName: string

testTimeout

testTimeout: number

timeout

timeout: number

Methods

assertFuncImpl

beforeProxy

  • Proxy for executing the beforeFuncArr calls

    Parameters

    Returns void

checkSchemaImpl

  • Proxy for running schema checks

    Parameters

    Returns boolean

extend

  • Used to generated a new CallConfig instance Properties are deeply cascaded onto the new instance using the current object, then the passed params By deeply cascaded we mean, properties that are objects are extended, properties that are arrays are joined

    Parameters

    Returns CallConfig

extender

  • extender(destValue: any, sourceValue: any, key?: string, object?: any, source?: any): any
  • Parameters

    • destValue: any
    • sourceValue: any
    • Optional key: string
    • Optional object: any
    • Optional source: any

    Returns any

getDataImpl

  • Proxy for executing the dataArr calls

    Parameters

    Returns any

getFullURL

  • Returns the full api url for running the call

    Parameters

    Returns string

getHeadersImpl

  • Proxy for executing the headersArr calls

    Parameters

    Returns any

obfuscateFuncImpl

  • Proxy for all obfuscations

    Parameters

    Returns any

Generated using TypeDoc