Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RequestOptions

An object with the following properties that describe the request.

Read more...

Hierarchy

  • Object
    • RequestOptions

Index

Properties

Optional authMode

authMode: "auto" | "anonymous" | "immediate" | "no-prompt"

Indicates if and how requests to ArcGIS Services are authenticated.

Read more...

Optional body

body: string | HTMLFormElement | FormData

If uploading a file, specify the form data or element used to submit the file here.

Read more...

Optional cacheBust

cacheBust: boolean

If true, the browser will send a request to the server instead of using the browser's local cache.

Read more...

constructor

constructor: Function

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

Optional headers

headers: any

Headers to use for the request.

Read more...

Optional method

method: "auto" | "delete" | "head" | "post" | "put"

Indicates if the request should be made using the HTTP DELETE, HEAD, POST, or PUT method.

Read more...

Optional query

query: any

Query parameters for the request.

Read more...

Optional responseType

responseType: "image" | "blob" | "xml" | "text" | "json" | "array-buffer" | "document" | "native"

Response format.

Read more...

Optional signal

signal: AbortSignal

AbortSignal allows for cancelable requests.

Read more...

Optional timeout

timeout: number

Indicates the amount of time in milliseconds to wait for a response from the server.

Read more...

Optional useProxy

useProxy: boolean

Indicates the request should use the proxy.

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