Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RequestInterceptor

Specifies the object used for intercepting and modifying requests made via esriRequest.

Read more...

Hierarchy

  • Object
    • RequestInterceptor

Index

Properties

Optional after

Makes changes to the response after the request is sent, but before it's returned to the caller.

Read more...

Optional before

Make changes to the request URL or options before the request is sent.

Read more...

constructor

constructor: Function

The initial value of Object.prototype.constructor is the standard built-in Object constructor.

Optional error

When an error occurs during the request processing, this function is called with an Error object giving the details about what happened.

Read more...

Optional headers

headers: any

Sets or adds headers into requestOptions.headers.

Read more...

Optional query

query: any

Sets or adds query parameters into requestOptions.query.

Read more...

Optional responseData

responseData: any

Hardcodes the response.

Read more...

Optional urls

urls: string | RegExp | (string | RegExp)[]

Specifies the URL(s) to apply to the interceptors.

Read more...

Methods

hasOwnProperty

  • hasOwnProperty(v: PropertyKey): boolean
  • Determines whether an object has a property with the specified name.

    Parameters

    • v: PropertyKey

      A property name.

    Returns boolean

isPrototypeOf

  • isPrototypeOf(v: Object): boolean
  • Determines whether an object exists in another object's prototype chain.

    Parameters

    • v: Object

      Another object whose prototype chain is to be checked.

    Returns boolean

propertyIsEnumerable

  • propertyIsEnumerable(v: PropertyKey): boolean
  • Determines whether a specified property is enumerable.

    Parameters

    • v: PropertyKey

      A property name.

    Returns boolean

toLocaleString

  • toLocaleString(): string
  • Returns a date converted to a string using the current locale.

    Returns string

toString

  • toString(): string
  • Returns a string representation of an object.

    Returns string

valueOf

  • valueOf(): Object
  • Returns the primitive value of the specified object.

    Returns Object

Generated using TypeDoc